For review: PEP 308 - If-then-else expression

Erik Max Francis max at alcyone.com
Mon Feb 10 02:34:09 EST 2003


Aahz wrote:

> How about
> 
>     <if cond then whentrue else whenfalse>

That looks weird at first but I could live with it (although it does add
the new keyword).  Now the question is whether you were just suggesting
it to catch people who liked it in a trap :-).

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ No man quite believes in any other man.
\__/ H.L. Mencken
    Alcyone Systems / http://www.alcyone.com/
 Alcyone Systems, San Jose, California.




More information about the Python-list mailing list