diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-03 03:05:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 03:05:11 (GMT) |
commit | a5c90784be0bf70287bac4195573e85e956c2332 (patch) | |
tree | be69e962a2bbd9ef8b4e72561c6193d7bd8f8575 | |
parent | ce6af314ca8529d5ed0f307deb9c33029a69f4cb (diff) | |
download | cpython-a5c90784be0bf70287bac4195573e85e956c2332.zip cpython-a5c90784be0bf70287bac4195573e85e956c2332.tar.gz cpython-a5c90784be0bf70287bac4195573e85e956c2332.tar.bz2 |
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
(cherry picked from commit 4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3)
Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
-rw-r--r-- | Doc/reference/simple_stmts.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 92dfcb0..8dfc01d 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 |