In article <4bdcd631$0$27782$c3e8...@news.astraweb.com>,
Steven D'Aprano  <st...@remove-this-cybersource.com.au> 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 (a...@pythoncraft.com)           <*>         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