Skip to content

Commit 99c40ff

Browse files
authored
Update compound_stmts.rst
1 parent 27c94a6 commit 99c40ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ The :keyword:`for` statement is used to iterate over the elements of a sequence
157157
for_stmt: "for" `target_list` "in" `starred_expression_list` ":" `suite`
158158
: ["else" ":" `suite`]
159159

160-
The ``starred_expression_list`` expression is evaluated once; it should yield an
161-
:term:`iterable` object. An :term:`iterator` is created for that iterable.
160+
The :token:`~python-grammar:star_expressions` expression is evaluated once; it should
161+
yield an :term:`iterable` object. An :term:`iterator` is created for that iterable.
162162
The first item provided
163163
by the iterator is then assigned to the target list using the standard
164164
rules for assignments (see :ref:`assignment`), and the suite is executed. This

0 commit comments

Comments
 (0)