On Fri, Feb 12, 2021 at 6:24 PM Paul Sokolovsky <pmis...@gmail.com> wrote:
> ... And on the 2nd thought, that won't work. The reason it works in JS
> is that it doesn't have tuples. In Python, "(a, b) => (1, 2)" means
> "compare a tuple for greater-or-equal".

Should be safe actually - "=>" is not a valid comparison operator.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KM3JYSXML4DDVWEXVGTAJNHTVXVQQRED/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to