2) Use comma as the separator - this is already legal syntax too, but IMO it reads more naturally. (And IIRC there are already contexts where brackets are necessary to indicate a tuple.)
This would be my preferred option.
Another possibility would to be allow cases to share the same suite by stacking them: case 401: case 402: case 403: ... Or perhaps both. The stacking option could be useful if the cases are complicated. -- Greg _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/HN5IEWYSEBYMXP3DKIPVH4MTZ2IYEDZ3/ Code of Conduct: http://python.org/psf/codeofconduct/