From: Donghee Na Date: Sun, 3 Nov 2024 04:15:07 +0000 (+0900) Subject: gh-125832: Reformat comments for inlined comprehensions (gh-126346) X-Git-Tag: v3.14.0a2~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8161afe51c65afbf0332da58837d94975cec9f65;p=thirdparty%2FPython%2Fcpython.git gh-125832: Reformat comments for inlined comprehensions (gh-126346) --- diff --git a/Python/codegen.c b/Python/codegen.c index c060ed76f1eb..d6ba85887e38 100644 --- a/Python/codegen.c +++ b/Python/codegen.c @@ -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