PEP 308: Alternative conditional operator forms

Sean Ross sross at connectmail.carleton.ca
Sun Feb 9 20:34:33 EST 2003


"Erik Max Francis" <max at alcyone.com> wrote in message
news:3E46F0CE.5675E180 at alcyone.com...
C -> (x, y)
>
> What else should be on this list?  (You can reply by email if you wish.)
>

[x if C else y]

(proposed by Alex Martelli, in a previous post)






More information about the Python-list mailing list