PEP 308: some candidate uses cases from live code

Erik Max Francis max at alcyone.com
Tue Feb 11 03:46:37 EST 2003


Martin Maney wrote:

> Aahz <aahz at pythoncraft.com> wrote:
>
> >    print if x: x else: y
> 
> Well, yes, since that's not the PEP syntax.

It is now.  Check the PEP on the python.org Web site.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ I always entertain great hopes.
\__/ Robert Frost
    REALpolitik / http://www.realpolitik.com/
 Get your own customized newsfeed online in realtime ... for free!




More information about the Python-list mailing list