[Python-Dev] extended if and while statements

"Martin v. Löwis" martin at v.loewis.de
Wed Jan 28 01:03:44 EST 2004

Luscombe Andrew wrote:
> This e-mail describes a suggestion for an extension to the "if" and "while"
> statements so that programmers have an option to use them like switch
> statements.  The resulting statements seem to me to read more like natural
> language than similar constructs with switch statements.

See PEP 275.


More information about the Python-Dev mailing list