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 steven.daprano
Recipients mscholle, steven.daprano
Date 2022-02-02.15:19:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643815166.25.0.814670120421.issue46612@roundup.psfhosted.org>
In-reply-to
Content
You say: "The documentation says ..." but don't tell us which documentation.

This documentation:

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


tells us that augmented assignment is assignment:

"An augmented assignment evaluates the target (which, unlike normal assignment statements, cannot be an unpacking) and the expression list, performs the binary operation specific to the type of assignment on the two operands, and assigns the result to the original target."

And also: "the assignment done by augmented assignment statements is handled the same way as normal assignments."
History
Date User Action Args
2022-02-02 15:19:26steven.dapranosetrecipients: + steven.daprano, mscholle
2022-02-02 15:19:26steven.dapranosetmessageid: <1643815166.25.0.814670120421.issue46612@roundup.psfhosted.org>
2022-02-02 15:19:26steven.dapranolinkissue46612 messages
2022-02-02 15:19:26steven.dapranocreate