Skip to content

[3.8] bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)#24471

Merged
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-0ec57e2-3.8
Feb 7, 2021
Merged

[3.8] bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)#24471
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-0ec57e2-3.8

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Feb 7, 2021

These 3 statements cannot be used at module scope -- nor in exec with one namespace.
(cherry picked from commit 0ec57e2)

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

https://bugs.python.org/issue16781

…honGH-2446)

These 3 statements cannot be used at module scope -- nor in exec with one namespace.
(cherry picked from commit 0ec57e2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@dzenanz: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Copy Markdown
Contributor Author

@dzenanz: Status check is done, and it's a failure ❌ .

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels Feb 7, 2021
@miss-islington
Copy link
Copy Markdown
Contributor Author

@dzenanz: Status check is done, and it's a success ✅ .

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.

4 participants