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 r.david.murray
Recipients ashwch, docs@python, r.david.murray
Date 2012-12-16.21:44:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355694294.95.0.344682176724.issue16701@psf.upfronthosting.co.za>
In-reply-to
Content
Well, it is effectively documented by the text here:

   http://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements

since "a + b" is logically equivalent to a.extend(b) when a is being updated "in-place".  The fact that it is in fact implemented using extend is an implementation detail.

That said, it would be logical to add an entry for the augmented assignment to the table here:

   http://docs.python.org/3/library/stdtypes.html#mutable-sequence-types

There also may be other places in that chapter where augmented assignment deserves mention.
History
Date User Action Args
2012-12-16 21:44:54r.david.murraysetrecipients: + r.david.murray, docs@python, ashwch
2012-12-16 21:44:54r.david.murraysetmessageid: <1355694294.95.0.344682176724.issue16701@psf.upfronthosting.co.za>
2012-12-16 21:44:54r.david.murraylinkissue16701 messages
2012-12-16 21:44:54r.david.murraycreate