why no ++?

Markus Schaber markus at schabi.de
Tue Aug 14 17:44:36 EDT 2001


Hi,

Marcin 'Qrczak' Kowalczyk <qrczak at knm.org.pl> schrub:

>> So now consider:
>> 
>>     y.a = b,c,d = x.e = wower()
>> 
>> How would you like to rewrite _this_?-)  There is *NO* rewrite
>> that ensures constant semantics except by introducing _another_
>> temporary variable -- *yecch*!-)
> 
> y.a, (b,c,d), x.e = [wower()] * 3

Ouch!

ROTFL!

Oh, well, I just understood that I'll need _very much_ time to learn 
the whole power and possibilities of python.

markus
-- 
1) Customers cause problems.
2) Marketing is trying to create more customers.
Therefore:
3) Marketing is evil.  (Grand Edwards in comp.lang.python)



More information about the Python-list mailing list