Message230406
You misread that paragraph:
""" For instance, to execute the statement x += y, where x is an instance of a class that has an __iadd__() method, x.__iadd__(y) is called."""
This is the present case, and the case of most mutable containers.
"""If x is an instance of a class that does not define a __iadd__() method, x.__add__(y) and y.__radd__(x) are considered, as with the evaluation of x + y."""
This is not the present case. |
|
Date |
User |
Action |
Args |
2014-10-31 22:35:52 | pitrou | set | recipients:
+ pitrou, rhettinger, r.david.murray, ethan.furman, Joshua.Chin |
2014-10-31 22:35:52 | pitrou | set | messageid: <1414794952.4.0.924855786226.issue22766@psf.upfronthosting.co.za> |
2014-10-31 22:35:52 | pitrou | link | issue22766 messages |
2014-10-31 22:35:52 | pitrou | create | |
|