For review: PEP 308 - If-then-else expression
Samuele Pedroni
pedronis at bluewin.ch
Sun Feb 9 22:45:33 EST 2003
"Erik Max Francis" <max at alcyone.com> ha scritto nel messaggio
news:3E472087.4793DC71 at alcyone.com...
> 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