On 06/23/2020 12:49 PM, Barry Warsaw wrote:
Maybe the PEP could support this syntax:
case in 401, 403, 404:
That seems like it would be both unambiguous and semantically obvious.
Unfortunately, that means:
Is the object a three-tuple with the values 401, 403, and 404?
--
~Ethan~
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/US5CINA3LTPC5BWWWJTLUTIQNS5UMGML/
Code of Conduct: http://python.org/psf/codeofconduct/