anything new on the ternary operator?
Russell Reagan
rreagan at attbi.com
Sun Jul 6 22:13:15 EDT 2003
"Bob Gailer" <bgailer at alum.rpi.edu> wrote
> I was looking forward to having it.
"Sean Ross" <sross at connectmail.carleton.ca> wrote
> - (if C: x else: y) won the vote
I'm still learning python, so don't flame too much :-)
What is superior about using the proposed ternary operator instead of using
the 'and' and 'or' operators to simulate inline logic?
More information about the Python-list
mailing list