]> granicus.if.org Git - python/commitdiff
#4857: fix augmented assignment target spec.
authorGeorg Brandl <georg@python.org>
Sun, 18 Jan 2009 13:47:26 +0000 (13:47 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 18 Jan 2009 13:47:26 +0000 (13:47 +0000)
Doc/reference/simple_stmts.rst

index d43ee8b864b7c6873686d502b7f5a18b175c6edc..238e02e2bb9ccd0e95f7bc29331a415037c358b8 100644 (file)
@@ -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: "+=" | "-=" | "*=" | "/=" | "//=" | "%=" | "**="
         : | ">>=" | "<<=" | "&=" | "^=" | "|="