summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-04-29 05:19:05 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-04-29 05:19:05 (GMT)
commitf3ae10e7ca9cf14299419c2c07678c7365e4b72e (patch)
tree7230957422031ecf4754f66d096c2d4e2e040a2d /Doc
parentcd3d741451238b3ee63b12dd82908965c392e5d0 (diff)
downloadcpython-f3ae10e7ca9cf14299419c2c07678c7365e4b72e.zip
cpython-f3ae10e7ca9cf14299419c2c07678c7365e4b72e.tar.gz
cpython-f3ae10e7ca9cf14299419c2c07678c7365e4b72e.tar.bz2
Closes #21055: Index (augmented) assignment symbols.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/simple_stmts.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 2be1370..d8e539d 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -72,6 +72,7 @@ Assignment statements
=====================
.. index::
+ single: =; assignment statement
pair: assignment; statement
pair: binding; name
pair: rebinding; name
@@ -241,6 +242,18 @@ Augmented assignment statements
.. index::
pair: augmented; assignment
single: statement; assignment, augmented
+ single: +=; augmented assignment
+ single: -=; augmented assignment
+ single: *=; augmented assignment
+ single: /=; augmented assignment
+ single: %=; augmented assignment
+ single: &=; augmented assignment
+ single: ^=; augmented assignment
+ single: |=; augmented assignment
+ single: **=; augmented assignment
+ single: //=; augmented assignment
+ single: >>=; augmented assignment
+ single: <<=; augmented assignment
Augmented assignment is the combination, in a single statement, of a binary
operation and an assignment statement: