]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-56374: Clarify documentation of nonlocal (#116942)
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 19 Mar 2024 17:55:21 +0000 (13:55 -0400)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2024 17:55:21 +0000 (13:55 -0400)
commit025ef7a5f7b424fba8713e448244b952bf897df3
tree7ca69c45518e2f1bd52ab58951558cef09e8ede2
parentb85572c47dc7a8c65fc366a87a3660fc7a3ed244
gh-56374: Clarify documentation of nonlocal (#116942)

Define 'nonlocal scopes' in a way that excludes class scopes.
Rearrange the rest of the doc.  Add "Programmer's note".
Doc/reference/simple_stmts.rst