Thank to all disputants.
It is possible to borrow the keyword "case" from PEP-622 (when it appears
https://www.python.org/dev/peps/pep-0622). Keyword "case" can be written
instead of "else/elif". I.e.
case COND:
...
[case COND:
...]
[case COND:
...]
All conditions COND must be different. Last "case COND:" can be replaced with
"else:".
_______________________________________________
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/M7MB6Y5LGY56RB4JDE6ODR25OMHZF2JE/
Code of Conduct: http://python.org/psf/codeofconduct/