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 pbhd0815
Recipients docs@python, pbhd0815
Date 2019-04-27.04:24:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556339049.57.0.959218106285.issue36739@roundup.psfhosted.org>
In-reply-to
Content
In the fourth paragraph, the sentence 

"Thus, global variables cannot be directly assigned a value within a function (unless named in a global statement)"

should somehow be extended to mention the nonlocal-statements:

Thus, global variables or variables of enclosing functions cannot be directly assigned a value within a function (unless named in a global statement (for global variables) or named in a nonlocal statement (for variables of enclosing functions)
History
Date User Action Args
2019-04-27 04:24:09pbhd0815setrecipients: + pbhd0815, docs@python
2019-04-27 04:24:09pbhd0815setmessageid: <1556339049.57.0.959218106285.issue36739@roundup.psfhosted.org>
2019-04-27 04:24:09pbhd0815linkissue36739 messages
2019-04-27 04:24:09pbhd0815create