Conditional iteration

at at at tuko.nl
Thu Dec 14 13:09:11 EST 2006


I am not claiming that it was THE motivation, but it solves my problem...

Carl Banks wrote:

> 
> at wrote:
>> By the way,
>>
>> I think by approving
>>
>> a = b if condition else c
>>
>> used to avloind
>>
>> if condition:
>>         a = b
>> else:
>>         a = c
>>
>> which is dealing with same psychological problem, Guido also recognizes
>> some need...
> 
> If you think that this change was made for "psychological" reasons, you
> are terribly deluded.
> 
> 
> Carl Banks




More information about the Python-list mailing list