In article <[email protected]>,
Steven D'Aprano  <[email protected]> wrote:
>On Sat, 01 May 2010 07:13:42 -0500, Tim Chase wrote:
>> 
>> The += family of operators really do rebind the symbol, not modify the
>> object.
>
>They potentially do both, depending on the object, even for built-ins.

No, they always rebind; sometimes they modify the object and sometimes
they rebind the original target to the same object.
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to