From 9cc9026294bfd2b65e5a66a455f4982e8b3dbce7 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 29 Apr 2014 01:19:17 -0400 Subject: [PATCH] Issue #21055: Index (augmented) assignment symbols. --- Doc/reference/simple_stmts.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index b710cd45860..66c234c6b28 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -70,6 +70,7 @@ Assignment statements ===================== .. index:: + single: =; assignment statement pair: assignment; statement pair: binding; name pair: rebinding; name @@ -260,6 +261,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: