[docs] [issue17546] Document the circumstances where the locals() dict gets updated

R. David Murray report at bugs.python.org
Sat Mar 30 22:53:51 CET 2013


R. David Murray added the comment:

The problem with using 'nonlocal' is that it would naturally be read as 'those names referenced in a nonlocal statement', which I don't think is the case.  Maybe 'non-local', to differentiate it from the keyword?

I'm attaching a patch incorporating my understanding of the suggestions made so far.

----------
keywords: +patch
nosy: +r.david.murray
Added file: http://bugs.python.org/file29614/locals_doc.patch

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


More information about the docs mailing list