For review: PEP 308 - If-then-else expression
Andrew Koenig
ark at research.att.com
Sun Feb 9 23:36:47 EST 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
mailing list