Eryk Sun <eryk...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue26205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to