8000 Language reference: Remove duplicated text about iterable unpacking (… · python/cpython@a5c9078 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5c9078

Browse files
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
(cherry picked from commit 4f5d56f) Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
1 parent ce6af31 commit a5c9078

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/reference/simple_stmts.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ square brackets, is recursively defined as follows.
124124
* If the target list is a single target with no trailing comma,
125125
optionally in parentheses, the object is assigned to that target.
126126

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

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

0 commit comments

Comments
 (0)
0