New submission from R. David Murray <rdmur...@bitdance.com>: Someone else closed issue 7276, but I was thinking of doing so but wanted to include a pointer to the relevant documentation. I'm not sure where that documentation is, but I figured there ought to be a FAQ entry for it. And there is, sort of...the first two sections of the programming faq's 'core language' section. However, I think that the way that most people run in to this problem is by getting the 'UnboundLocalError', and so I think the FAQ entry title should mention that error. I attach a proposed update to the first section of the core language section of the programming FAQ. I'm also going to attach a copy of the complete entry since it is hard to read in the patch.
---------- assignee: georg.brandl components: Documentation files: UnboundLocalError-faq.patch keywords: patch messages: 95057 nosy: georg.brandl, r.david.murray priority: normal severity: normal stage: patch review status: open title: Update 'how do I set a global variable' faq entry type: feature request versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file15294/UnboundLocalError-faq.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7290> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com