in place functions from operator module
nfdisco at gmail.com
Sun Aug 29 16:44:47 CEST 2010
The operator module provides separate functions for
"in place" operations, such as iadd(), isub(), etc.
However, it appears that these functions don't really
do the operation in place:
In : a = 4
In : operator.iadd(a, 3)
In : a
So, what's the point? If you have to make the
assignment yourself... I don't understand.
More information about the Python-list