[Python-Dev] In-place operators

Raymond Hettinger python at rcn.com
Tue Mar 17 23:35:58 CET 2009


>> Maybe someone somewhere has some interesting use for
>> these in-place operator function.  I hope so.
> 
> It could be important if you want apply it to mutable objects, i.e.
> where the assignment doesn't do anything.

I give up.  My original question was whether anyone thought these
were a good idea.  Look's like the answer is yes, everyone is 
happy with the functions and are glad they were added in 2.5.


Raymond


More information about the Python-Dev mailing list