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 @@ -119,12 +119,12 @@ directly accessible:
119119
120120* the innermost scope, which is searched first, contains the local names
121121* 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
123123* the next-to-last scope contains the current module's global names
124124* the outermost scope (searched last) is the namespace containing built-in names
125125
126126If 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
128128found outside of the innermost scope, the :keyword: `nonlocal ` statement can be
129129used; if not declared nonlocal, those variables are read-only (an attempt to
130130write 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