
July 6, 2020
2:42 p.m.
Eryk Sun <eryksun@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@bugs.python.org> <https://bugs.python.org/issue26205> _______________________________________