Skip to content

Commit 8161afe

Browse files
authored
gh-125832: Reformat comments for inlined comprehensions (gh-126346)
1 parent 9ad57cf commit 8161afe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Python/codegen.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -4088,11 +4088,11 @@ codegen_call_helper(compiler *c, location loc,
40884088
}
40894089

40904090
/* List and set comprehensions work by being inlined at the location where
4091-
they are defined. The isolation of iteration variables is provided by
4092-
pushing/popping clashing locals on the stack. Generator expressions work
4093-
by creating a nested function to perform the actual iteration.
4094-
This means that the iteration variables don't leak into the current scope.
4095-
See https://peps.python.org/pep-0709/ for additional information.
4091+
they are defined. The isolation of iteration variables is provided by
4092+
pushing/popping clashing locals on the stack. Generator expressions work
4093+
by creating a nested function to perform the actual iteration.
4094+
This means that the iteration variables don't leak into the current scope.
4095+
See https://peps.python.org/pep-0709/ for additional information.
40964096
The defined function is called immediately following its definition, with the
40974097
result of that call being the result of the expression.
40984098
The LC/SC version returns the populated container, while the GE version is

0 commit comments

Comments
 (0)