From a4225d6a0d95c3766ff8f2e7af185c22023567b9 Mon Sep 17 00:00:00 2001 From: Blazej Michalik Date: Fri, 8 Dec 2023 23:25:22 +0100 Subject: [PATCH] PEP 448: Fix misleading passage in the abstract The passage in the PEP misleads its readers into believing, that unpacking in comprehensions is supported. This is not the case, as presented by the abstract itself: > This PEP does not include unpacking operators inside list, set and > dictionary comprehensions although this has not been ruled out for > future proposals. --- peps/pep-0448.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/peps/pep-0448.rst b/peps/pep-0448.rst index 38721e8a355..72ffb821cb1 100644 --- a/peps/pep-0448.rst +++ b/peps/pep-0448.rst @@ -16,9 +16,7 @@ Abstract This PEP proposes extended usages of the ``*`` iterable unpacking operator and ``**`` dictionary unpacking operators to allow unpacking in more positions, an arbitrary number of -times, and in additional circumstances. Specifically, -in function calls, in comprehensions and generator expressions, and -in displays. +times, and in function calls and displays. Function calls are proposed to support an arbitrary number of unpackings rather than just one::