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

Andrew Koenig ark at research.att.com
Mon Feb 10 00:21:47 EST 2003


Samuele> "Andrew Koenig" <ark at research.att.com> ha scritto nel messaggio
Samuele> 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?

Samuele> you should see the ambiguity.

Perhaps I should, but I don't.

-- 
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark




More information about the Python-list mailing list