From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Sun, 3 Apr 2022 02:41:16 +0000 (+0800) Subject: Language reference: Remove duplicated text about iterable unpacking (GH-25212) X-Git-Tag: v3.11.0a7~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3;p=thirdparty%2FPython%2Fcpython.git Language reference: Remove duplicated text about iterable unpacking (GH-25212) --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index e9795d8deffc..5f19a3822ba9 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