assignment in if

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Wed May 3 00:31:01 EDT 2006


Edward Elliott a écrit :
> Roy Smith wrote:
> 
(snip)

>>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. ;)
> 
+1 QOTW



More information about the Python-list mailing list