Skip to content

Commit e0eb819

Browse files
committed
Minor changes
1 parent ad09f74 commit e0eb819

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

monic/expressions/interpreter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,7 @@ def visit_GeneratorExp(
14661466
self.local_env = outer_env.copy()
14671467

14681468
try:
1469+
14691470
def generator() -> t.Generator[t.Any, None, None]:
14701471
def process_generator(
14711472
generators: list, index: int = 0
@@ -1622,7 +1623,8 @@ def process_generator(generators: list, index: int = 0) -> None:
16221623
# Process next generator or append result
16231624
process_generator(generators, index + 1)
16241625

1625-
# Update outer environment with any named expression bindings
1626+
# Update outer environment with any named expression
1627+
# bindings
16261628
for name, value in self.local_env.items():
16271629
if name not in current_env:
16281630
outer_env[name] = value

0 commit comments

Comments
 (0)