]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 3 Apr 2022 03:06:54 +0000 (20:06 -0700)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 03:06:54 +0000 (20:06 -0700)
(cherry picked from commit 4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3)

Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
Doc/reference/simple_stmts.rst

index 79f4011307ed8e9de2c093f5291ebeb508f72b66..5f9e8dc1791d529e41f4bc8f15fe131056b78077 100644 (file)
@@ -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