Message340963
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) |
|
Date |
User |
Action |
Args |
2019-04-27 04:24:09 | pbhd0815 | set | recipients:
+ pbhd0815, docs@python |
2019-04-27 04:24:09 | pbhd0815 | set | messageid: <1556339049.57.0.959218106285.issue36739@roundup.psfhosted.org> |
2019-04-27 04:24:09 | pbhd0815 | link | issue36739 messages |
2019-04-27 04:24:09 | pbhd0815 | create | |
|