Another conditional expression candidate (PEP 308)

Andrew Koenig ark at
Mon Feb 10 06:40:20 CET 2003

>> Why is this any more confusing than the fact that

>> result = x +
>> y +
>> z

>> is illegal?

Samuele> x+
Samuele>  y+
Samuele>  z

Samuele> is not a valid statement.

And I am not proposing that

     result = if cond:

should be a valid statement either.

So where is the problem?

Andrew Koenig, ark at,

More information about the Python-list mailing list