Skip to content

[3.12] gh-56374: Clarify documentation of nonlocal (GH-116942)#117023

Merged
terryjreedy merged 1 commit intopython:3.12from
miss-islington:backport-025ef7a-3.12
Mar 19, 2024
Merged

[3.12] gh-56374: Clarify documentation of nonlocal (GH-116942)#117023
terryjreedy merged 1 commit intopython:3.12from
miss-islington:backport-025ef7a-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Mar 19, 2024

Define 'nonlocal scopes' in a way that excludes class scopes.
Rearrange the rest of the doc. Add "Programmer's note".
(cherry picked from commit 025ef7a)

Co-authored-by: Terry Jan Reedy tjreedy@udel.edu


📚 Documentation preview 📚: https://cpython-previews--117023.org.readthedocs.build/

Define 'nonlocal scopes' in a way that excludes class scopes.
Rearrange the rest of the doc.  Add "Programmer's note".
(cherry picked from commit 025ef7a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-app bedevere-app bot added the docs Documentation in the Doc dir label Mar 19, 2024
@terryjreedy terryjreedy enabled auto-merge (squash) March 19, 2024 17:57
@terryjreedy terryjreedy merged commit 05b2b30 into python:3.12 Mar 19, 2024
@miss-islington miss-islington deleted the backport-025ef7a-3.12 branch January 2, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants