File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,12 +119,12 @@ directly accessible:
119
119
120
120
* the innermost scope, which is searched first, contains the local names
121
121
* the scopes of any enclosing functions, which are searched starting with the
122
- nearest enclosing scope, contains non-local, but also non-global names
122
+ nearest enclosing scope, contain non-local, but also non-global names
123
123
* the next-to-last scope contains the current module's global names
124
124
* the outermost scope (searched last) is the namespace containing built-in names
125
125
126
126
If a name is declared global, then all references and assignments go directly to
127
- the middle scope containing the module's global names. To rebind variables
127
+ the next-to-last scope containing the module's global names. To rebind variables
128
128
found outside of the innermost scope, the :keyword: `nonlocal ` statement can be
129
129
used; if not declared nonlocal, those variables are read-only (an attempt to
130
130
write to such a variable will simply create a *new * local variable in the
You can’t perform that action at this time.
0 commit comments