For review: PEP 308 - If-then-else expression

Samuele Pedroni pedronis at
Mon Feb 10 04:45:33 CET 2003

"Erik Max Francis" <max at> ha scritto nel messaggio
news:3E472087.4793DC71 at
> Samuele Pedroni wrote:
> > Aside that: too much punctuation.
> So is there too much punctuation in if...else statements?  I guess I'm
> not getting this objection.

statements are not expressions.

For example the : in else: is absolutely spurious for the expression case.

More information about the Python-list mailing list