diff options
author | Georg Brandl <georg@python.org> | 2009-01-18 13:47:26 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-18 13:47:26 (GMT) |
commit | 4a565cc41da56cbf977a5b9befa316edd84a1a53 (patch) | |
tree | fb8a74f77b3861e52e80b72460ea8c033772d1ee | |
parent | 9f7fb849dfbb8e54f1da637c086cd0433f5b7169 (diff) | |
download | cpython-4a565cc41da56cbf977a5b9befa316edd84a1a53.zip cpython-4a565cc41da56cbf977a5b9befa316edd84a1a53.tar.gz cpython-4a565cc41da56cbf977a5b9befa316edd84a1a53.tar.bz2 |
#4857: fix augmented assignment target spec.
-rw-r--r-- | Doc/reference/simple_stmts.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index d43ee8b..238e02e 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -228,7 +228,8 @@ Augmented assignment is the combination, in a single statement, of a binary operation and an assignment statement: .. productionlist:: - augmented_assignment_stmt: `target` `augop` (`expression_list` | `yield_expression`) + augmented_assignment_stmt: `augtarget` `augop` (`expression_list` | `yield_expression`) + augtarget: `identifier` | `attributeref` | `subscription` | `slicing` augop: "+=" | "-=" | "*=" | "/=" | "//=" | "%=" | "**=" : | ">>=" | "<<=" | "&=" | "^=" | "|=" |