[docs] [issue32413] Document that locals() may return globals()
Martin Panter
report at bugs.python.org
Tue Jan 2 14:37:13 EST 2018
Martin Panter <vadmium+py at gmail.com> added the comment:
FWIW a few years ago I wrote a patch for Issue 17546 that documents three personalities of “locals”, including:
* At the module level, the dictionary returned is the global symbol table, also returned by :func:`globals`.
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32413>
_______________________________________
More information about the docs
mailing list