[docs] [issue19737] Documentation of globals() and locals() should be improved

Terry J. Reedy report at bugs.python.org
Mon May 18 00:13:16 CEST 2015


Terry J. Reedy added the comment:

My succinct version:

Return the dictionary implementing the current module namespace. For code within functions, this is set when the function is defined and remains the same regardless of where a function is called.

----------
versions: +Python 3.5 -Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19737>
_______________________________________


More information about the docs mailing list