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

Samuele Pedroni pedronis at bluewin.ch
Sun Feb 9 23:56:22 EST 2003


"Andrew Koenig" <ark at research.att.com> ha scritto nel messaggio
news:yu994r7clpk0.fsf at europa.research.att.com...
> >> if if y<5: yep() else: 0:
>
> >> is the result of some editor-accident :-)
>
> Samuele> sometimes it could be a real ambiguity so maybe it should be
> Samuele> just <.4 wink>.
>
> Sorry, but I don't see the ambiguity; all I see is a clumsy
> way of writing
>
>         if y<5 and yep():
>
> Where is the ambiguity?

you should see the ambiguity.






More information about the Python-list mailing list