@@ -48,7 +48,7 @@ expression statements are allowed and occasionally useful. The syntax for an
4848expression statement is:
4949
5050.. productionlist :: python-grammar
51- expression_stmt: `starred_expression `
51+ expression_stmt: `starred_expression_list `
5252
5353An expression statement evaluates the expression list (which may be a single
5454expression).
@@ -84,7 +84,7 @@ Assignment statements are used to (re)bind names to values and to modify
8484attributes or items of mutable objects:
8585
8686.. productionlist :: python-grammar
87- assignment_stmt: (`target_list ` "=")+ (`starred_expression ` | `yield_expression `)
87+ assignment_stmt: (`target_list ` "=")+ (`starred_expression_list ` | `yield_expression `)
8888 target_list: `target ` ("," `target `)* [","]
8989 target: `identifier `
9090 : | "(" [`target_list `] ")"
@@ -275,7 +275,7 @@ Augmented assignment is the combination, in a single statement, of a binary
275275operation and an assignment statement:
276276
277277.. productionlist :: python-grammar
278- augmented_assignment_stmt: `augtarget ` `augop ` (`expression_list ` | `yield_expression `)
278+ augmented_assignment_stmt: `augtarget ` `augop ` (`starred_expression_list ` | `yield_expression `)
279279 augtarget: `identifier ` | `attributeref ` | `subscription `
280280 augop: "+=" | "-=" | "*=" | "@=" | "/=" | "//=" | "%=" | "**="
281281 : | ">>=" | "<<=" | "&=" | "^=" | "|="
@@ -324,7 +324,7 @@ statement, of a variable or attribute annotation and an optional assignment stat
324324
325325.. productionlist :: python-grammar
326326 annotated_assignment_stmt: `augtarget ` ":" `expression `
327- : ["=" (`starred_expression ` | `yield_expression `)]
327+ : ["=" (`starred_expression_list ` | `yield_expression `)]
328328
329329The difference from normal :ref: `assignment ` is that only a single target is allowed.
330330
0 commit comments