[issue20922] Global variables and Local Variables with same name
Ezio Melotti
report at bugs.python.org
Fri Mar 14 08:35:14 CET 2014
Ezio Melotti added the comment:
This is by design, see http://docs.python.org/3/faq/programming.html#why-am-i-getting-an-unboundlocalerror-when-the-variable-has-a-value
----------
nosy: +ezio.melotti
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20922>
_______________________________________
More information about the Python-bugs-list
mailing list