For review: PEP 308 - If-then-else expression
pinard at iro.umontreal.ca
Sun Feb 9 01:52:30 CET 2003
> > Just noting that if the proposal is accepted, we can get rid of
> > those pesky "and" and "or" operators:
> > x and y same_as y if x else x
> > x or y same_as x if x else y
> > Removing two things each time a new one is added is an effective way
> > to keep the language small <wink>.
> At least one of these two statements is true:
> 1. I was joking.
Fair enough! I should know you better... :-)
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list