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

Andrew Dalke adalke at mindspring.com
Mon Feb 10 01:18:38 EST 2003


Me:
> You assume I wasn't just writing an alternative to
> !s.startswith("spam")?

Erik Max Francis:
> > Do you mean
> >
> > not s.startswith('spam')

Oops!  Yeah.

Laura:
> Andrew Dalke's laptop broke.  He will return when it is fixed.  That
> may be part of the C++ code he was presenting, however...

Luckily I have a backup NT box.  That just means I can only
read news when a home.

But the guess is roughly correct.  I was starting at a lot of C++
code and the ! slipped into my Python.

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list