File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ signal that no argument was provided (:py:data:`None` is often a good choice).
79
79
When the Gotcha Isn't a Gotcha
80
80
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81
81
82
- Sometimes you specifically can "exploit" (read: use as intended) this behavior
82
+ Sometimes you can specifically "exploit" (read: use as intended) this behavior
83
83
to maintain state between calls of a function. This is often done when writing
84
84
a caching function.
85
85
@@ -126,7 +126,7 @@ What Does Happen
126
126
8
127
127
8
128
128
129
- Five functions are created, but all of them just multiply ``x `` by 4.
129
+ Five functions are created; instead all of them just multiply ``x `` by 4.
130
130
131
131
Python's closures are *late binding *.
132
132
This means that the values of variables used in closures are looked
You can’t perform that action at this time.
0 commit comments