assignment in if

Bruno Desthuilliers bdesth.quelquechose at
Wed May 3 06:31:01 CEST 2006

Edward Elliott a écrit :
> Roy Smith wrote:

>>The lack of embedded assignments leads to slightly more verbose code in
>>situations like this, but on the other hand, it avoids the typical C
>>disaster of writing a whole function as a one liner.
> Writing disasters in python just takes a little more creativity. ;)

More information about the Python-list mailing list