]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Language reference: Remove duplicated text about iterable unpacking (GH-25212)
authorJiashuo Li <4003950+jiasli@users.noreply.github.com>
Sun, 3 Apr 2022 02:41:16 +0000 (10:41 +0800)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 02:41:16 +0000 (19:41 -0700)
Doc/reference/simple_stmts.rst

index e9795d8deffc717189aed893d4032f6a8e197851..5f19a3822ba9f92768f869d3568c20b1f15e0f24 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