PEP 308 - ternary operator
Erik Max Francis
max at alcyone.com
Thu Feb 13 01:27:49 CET 2003
Michele Simionato wrote:
> I am not so hot on the built-in function/macro, however I have an
> why not the syntax "__if__(C,x,y)" ?
That's better, but still doesn't eliminate the special form, which has
been explicitly rejected as an option in the PEP.
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ If you can't fight and you can't flee, flow.
\__/ Robert Elliot
Physics reference / http://www.alcyone.com/max/reference/physics/
A physics reference.
More information about the Python-list