[issue26205] Better specify number of nested scopes
Eryk Sun
report at bugs.python.org
Mon Jul 6 10:42:17 EDT 2020
Eryk Sun <eryksun at gmail.com> added the comment:
> There is one local namespace for each class and function. There is one
> nonlocal namespace for each nested function.
In the first sentence, replace "class" with "class statement" and "function" with "function call". The second sentence could use "nested-function call", but maybe rewrite it as, "There is one nonlocal namespace when a nested function is called."
----------
nosy: +eryksun
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26205>
_______________________________________
More information about the Python-bugs-list
mailing list