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

Andrew Koenig ark at research.att.com
Tue Feb 11 11:43:33 EST 2003


Michele> Moreover,

Michele> (if C: x 
Michele> else: y)

Michele> it too similar to a statement.

Too similar for what purpose?  If you were to rewrite it as a
statement, it would have the same effect--so why is this similarity a
problem?

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




More information about the Python-list mailing list