Skip to content

Commit a6c7824

Browse files
committed
TR updates, first round
1 parent 4df1586 commit a6c7824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-closure/closure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def outer_func():
1111
name = "Pythonista"
12-
return lambda name=name: print(f"Hello, {name}!")
12+
return lambda: print(f"Hello, {name}!")
1313

1414

1515
inner_func = outer_func()

0 commit comments

Comments
 (0)