anything new on the ternary operator?
Russell Reagan
rreagan at attbi.com
Sun Jul 6 22:13:15 EDT 2003
More information about the Python-list mailing list
Sun Jul 6 22:13:15 EDT 2003
- Previous message (by thread): anything new on the ternary operator?
- Next message (by thread): anything new on the ternary operator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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?
- Previous message (by thread): anything new on the ternary operator?
- Next message (by thread): anything new on the ternary operator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list