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

Dave Brueck dave at pythonapocrypha.com
Fri Feb 7 15:45:28 EST 2003


On Fri, 7 Feb 2003, Jack Diederich wrote:

> On Fri, Feb 07, 2003 at 06:46:55PM +0100, holger krekel wrote:
> > What about a missing else clause? e.g.
> >
> >         <expression> if <condition>
>
> if (<condition>): <expression>
>
> is already legal so I'm -1 for yet another way to do it

Argh! :)

Please don't vote on this unless you've followed the discussion.  This is
not what the PEP is about.

-Dave





More information about the Python-list mailing list