Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02943a5

Browse files
committed
fix typo
1 parent a376176 commit 02943a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/source/parallel/parallel_details.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ An example of a function that uses a closure:
113113
def inner():
114114
# inner will have a closure
115115
return a
116-
return echo
116+
return inner
117117

118118
f1 = f(1)
119119
f2 = f(2)
@@ -135,7 +135,7 @@ outer function, then there will not be a closure, and the generated function wil
135135
def inner():
136136
# this inner will *not* have a closure
137137
return a
138-
return echo
138+
return inner
139139
g1 = g(1)
140140
g2 = g(2)
141141
g1() # raises NameError on 'a'

0 commit comments

Comments
 (0)