[Python-checkins] cpython (2.7): Closes #21055: Index (augmented) assignment symbols.
terry.reedy
python-checkins at python.org
Tue Apr 29 07:20:39 CEST 2014
http://hg.python.org/cpython/rev/d32b6900da6f
changeset: 90503:d32b6900da6f
branch: 2.7
parent: 90500:016d326c5aac
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Tue Apr 29 01:19:05 2014 -0400
summary:
Closes #21055: Index (augmented) assignment symbols.
files:
Doc/reference/simple_stmts.rst | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -72,6 +72,7 @@
=====================
.. index::
+ single: =; assignment statement
pair: assignment; statement
pair: binding; name
pair: rebinding; name
@@ -241,6 +242,18 @@
.. 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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list