]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125832: Reformat comments for inlined comprehensions (gh-126346)
authorDonghee Na <donghee.na@python.org>
Sun, 3 Nov 2024 04:15:07 +0000 (13:15 +0900)
committerGitHub <noreply@github.com>
Sun, 3 Nov 2024 04:15:07 +0000 (04:15 +0000)
Python/codegen.c

index c060ed76f1eb5c193fe35ad6f1c7a7b5bd1ddb96..d6ba85887e3860d31222a462849843fbe78718ab 100644 (file)
@@ -4088,11 +4088,11 @@ codegen_call_helper(compiler *c, location loc,
 }
 
 /* List and set comprehensions work by being inlined at the location where
-   they are defined. The isolation of iteration variables is provided by
-   pushing/popping clashing locals on the stack. Generator expressions work
-   by creating a nested function to perform the actual iteration.
-   This means that the iteration variables don't leak into the current scope.
-   See https://peps.python.org/pep-0709/ for additional information.
+  they are defined. The isolation of iteration variables is provided by
+  pushing/popping clashing locals on the stack. Generator expressions work
+  by creating a nested function to perform the actual iteration.
+  This means that the iteration variables don't leak into the current scope.
+  See https://peps.python.org/pep-0709/ for additional information.
   The defined function is called immediately following its definition, with the
   result of that call being the result of the expression.
   The LC/SC version returns the populated container, while the GE version is