For review: PEP 308 - If-then-else expression
ark at research.att.com
Mon Feb 10 05:36:47 CET 2003
>> 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?
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark
More information about the Python-list