summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorJiashuo Li <4003950+jiasli@users.noreply.github.com>2022-04-03 02:41:16 (GMT)
committerGitHub <noreply@github.com>2022-04-03 02:41:16 (GMT)
commit4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3 (patch)
treefcb60645059316648142b90fd59ede7adffea2a5 /Doc/reference
parent281f980d354d1709018a2dc77f79388faf3e56c0 (diff)
downloadcpython-4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3.zip
cpython-4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3.tar.gz
cpython-4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3.tar.bz2
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/simple_stmts.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index e9795d8..5f19a38 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -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