[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-05-28 Thread miss-islington
miss-islington added the comment: New changeset cee95fe1825dfeb52d7074c8209b5884a079f06c by Miss Islington (bot) in branch '3.7': bpo-36739: Update controlflow.rst (GH-12983) https://github.com/python/cpython/commit/cee95fe1825dfeb52d7074c8209b5884a079f06c -- __

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-05-28 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- nosy: +Mariatta resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +13540 pull_request: https://github.com/python/cpython/pull/13644 ___ Python tracker ___ __

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-05-28 Thread miss-islington
miss-islington added the comment: New changeset e1f95e77e0647aff602e0660ba3c282b71045875 by Miss Islington (bot) (pbhd) in branch 'master': bpo-36739: Update controlflow.rst (GH-12983) https://github.com/python/cpython/commit/e1f95e77e0647aff602e0660ba3c282b71045875 -- nosy: +miss-i

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-04-27 Thread Peter Bauer
Change by Peter Bauer : -- keywords: +patch pull_requests: +12908 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-04-27 Thread Peter Bauer
Peter Bauer added the comment: ok, will try to create a pull-request for that, although i'm not a natural englishman... -- ___ Python tracker ___

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-04-27 Thread Peter Bauer
New submission from Peter Bauer : 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 e

[issue36739] "4.6. Defining Functions" should mention nonlocal

2019-04-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion. Would you like to submit a PR? -- keywords: +easy nosy: +rhettinger stage: -> needs patch ___ Python tracker