On Fri, Feb 12, 2021 at 6:24 PM Paul Sokolovsky <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KM3JYSXML4DDVWEXVGTAJNHTVXVQQRED/ Code of Conduct: http://python.org/psf/codeofconduct/
