Skip to content

Commit c05d147

Browse files
committed
doc tweak
1 parent 6bb04f1 commit c05d147

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎InternalDocs/inlined_comprehensions.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ inlined; they still become their own code object.
99
The resulting bytecode lives in the enclosing unit, but the comprehension
1010
still has its own locals: iteration variables must not leak into, or
1111
overwrite, names in the enclosing scope. The symbol table models that as a
12-
nested lexical scope; codegen then emits the comprehension in place.
12+
nested lexical scope; codegen then emits the comprehension inlined into its
13+
containing compilation unit.
1314

1415
Which comprehensions are inlined
1516
--------------------------------

0 commit comments

Comments
 (0)