Skip to content

Commit

Permalink
Language reference: Remove duplicated text about iterable unpacking (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli committed Apr 3, 2022
1 parent 281f980 commit 4f5d56f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Doc/reference/simple_stmts.rst
Expand Up @@ -124,9 +124,7 @@ square brackets, is recursively defined as follows.
* If the target list is a single target with no trailing comma,
optionally in parentheses, the object is assigned to that target.

* Else: The object must be an iterable with the same number of
items as there are targets in the target list, and the items are assigned,
from left to right, to the corresponding targets.
* Else:

* If the target list contains one target prefixed with an asterisk, called a
"starred" target: The object must be an iterable with at least as many items
Expand Down

0 comments on commit 4f5d56f

Please sign in to comment.