anything new on the ternary operator?

Peter Hansen peter at
Tue Jul 8 18:22:32 CEST 2003

Tor wrote:
> (if C: x else: z)
> Was this the winning syntax?

> 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. ;-)


More information about the Python-list mailing list