This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients docs@python, ezio.melotti, fossilet, rhettinger
Date 2015-03-05.10:18:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425550693.65.0.322782894319.issue23589@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-05 10:18:13rhettingersetrecipients: + rhettinger, fossilet, ezio.melotti, docs@python
2015-03-05 10:18:13rhettingersetmessageid: <1425550693.65.0.322782894319.issue23589@psf.upfronthosting.co.za>
2015-03-05 10:18:13rhettingerlinkissue23589 messages
2015-03-05 10:18:13rhettingercreate