[issue6925] Doc for locals and vars
Georg Brandl
report at bugs.python.org
Fri Sep 18 09:18:17 CEST 2009
Georg Brandl <georg at python.org> added the comment:
I'm sorry, I messed up the test. When "x" is not used in g(), it's of
course *not* a free variable in g. This is the correct test:
def f():
x = 1
def g():
print x
print locals()
g()
f()
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6925>
_______________________________________
More information about the Python-bugs-list
mailing list