This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Joshua.Chin, ethan.furman, pitrou, r.david.murray, rhettinger
Date 2014-10-31.22:35:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414794952.4.0.924855786226.issue22766@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-10-31 22:35:52pitrousetrecipients: + pitrou, rhettinger, r.david.murray, ethan.furman, Joshua.Chin
2014-10-31 22:35:52pitrousetmessageid: <1414794952.4.0.924855786226.issue22766@psf.upfronthosting.co.za>
2014-10-31 22:35:52pitroulinkissue22766 messages
2014-10-31 22:35:52pitroucreate