#4857: fix augmented assignment target spec.

This commit is contained in:
Georg Brandl 2009-01-18 13:47:26 +00:00
parent 9f7fb849df
commit 4a565cc41d
1 changed files with 2 additions and 1 deletions

View 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: "+=" | "-=" | "*=" | "/=" | "//=" | "%=" | "**="
: | ">>=" | "<<=" | "&=" | "^=" | "|="