Yet Another PEP308 syntax
damien morton
morton at dennisinter.com
Mon Feb 10 15:04:45 EST 2003
More information about the Python-list mailing list
Mon Feb 10 15:04:45 EST 2003
- Previous message (by thread): Yet Another PEP308 syntax
- Next message (by thread): Yet Another PEP308 syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gerrit Holl <gerrit at nl.linux.org> wrote in message news:<mailman.1044892786.2769.python-list at python.org>... > Hi, > > although I am against a ternary operator, here is Yet Another PEP308 > syntax: > > a = ?(test, true_case, false_case) > or > a = test?(true_case, false_case) > > yours, > Gerrit. Counter proposal: a = test ? true_case, false_case ¿ <2.0 wink> (sometimes punctuation isnt such a bad thing)
- Previous message (by thread): Yet Another PEP308 syntax
- Next message (by thread): Yet Another PEP308 syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list