For review: PEP 308 - If-then-else expression
Aahz
aahz at pythoncraft.com
Fri Feb 7 23:49:51 EST 2003
In article <mailman.1044642128.13813.python-list at python.org>,
Jack Diederich <jack at performancedrivers.com> 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
False argument. That's more correctly stated as
if <condition>: <statement>
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list