[issue23589] Redundant sentence in FAQ

Raymond Hettinger report at bugs.python.org
Thu Mar 5 11:18:13 CET 2015


Raymond Hettinger added the comment:

How about:

In Python, variables that are only referenced inside a function are implicitly
global.  If a variable is assigned a value anywhere within the function's
body, it's assumed to be a local unless explicitly declared as global.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list