From 4a565cc41da56cbf977a5b9befa316edd84a1a53 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 18 Jan 2009 13:47:26 +0000 Subject: [PATCH] #4857: fix augmented assignment target spec. --- Doc/reference/simple_stmts.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index d43ee8b864..238e02e2bb 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: "+=" | "-=" | "*=" | "/=" | "//=" | "%=" | "**=" : | ">>=" | "<<=" | "&=" | "^=" | "|=" -- 2.50.1