anything new on the ternary operator?
Peter Hansen
peter at engcorp.com
Tue Jul 8 12:22:32 EDT 2003
Tor wrote:
>
> (if C: x else: z)
>
> Was this the winning syntax?
http://tinyurl.com/763f
> Why are the parentheses neccessary (and are they really)?
Please don't reopen the discussion here, without at first reading the
entire archive of the previous discussion. ;-)
http://groups.google.ca/groups?th=45e47b6ed1fad306&seekm=mailman.1047355305.32469.python-list%40python.org#link1
-Peter
More information about the Python-list
mailing list