PEP 308: Pep Update

Erik Max Francis max at alcyone.com
Thu Feb 13 06:07:11 EST 2003


Damien Morton wrote:

> Id also like to mention my own proposal ("generalising the ternary
> operator"):
> 
> (<cond1> ? <expr1> , <cond2> ? <expr2> , <expr3>)

This is not a new proposal; `C ? x, y' has already been suggested very
early on in these threads.  `C ? x, D ? y, z' would simply be the
"relaxed" (as you called it) extension to it.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ In time of war the devil makes more room in hell.
\__/ (a German proverb)
    Crank Dot Net / http://www.crank.net/
 Cranks, crackpots, kooks, & loons on the Net.




More information about the Python-list mailing list