Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-45463: docs: clarify that the global statement allows multiple names #28851

Merged
merged 1 commit into from
Oct 16, 2021

Conversation

lucach
Copy link
Contributor

@lucach lucach commented Oct 10, 2021

The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.html#the-global-statement).

The "Execution model" chapter describes the global statement as if it
only allowed one single name. This patch addresses the inconsistency by
pluralizing the word "name" in the appropriate places.

https://bugs.python.org/issue45463

The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.html#the-global-statement).

The "Execution model" chapter describes the global statement as if it
only allowed one single name. This patch addresses the inconsistency by
pluralizing the word "name" in the appropriate places.
@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Oct 10, 2021
@lucach lucach changed the title docs: clarify that the global statement allows multiple names bpo-45463: docs: clarify that the global statement allows multiple names Oct 13, 2021
@lucach
Copy link
Contributor Author

lucach commented Oct 16, 2021

(Sorry for not having a bpo initially).
I'm not sure whether this requires a news entry or it is small enough to be merged without notice.

@terryjreedy terryjreedy merged commit 4ecd119 into python:main Oct 16, 2021
@miss-islington
Copy link
Contributor

Thanks @lucach for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-28989 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed needs backport to 3.10 only security fixes needs backport to 3.9 only security fixes labels Oct 16, 2021
@bedevere-bot
Copy link

GH-28990 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 16, 2021
…onGH-28851)

The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.htmlGH-the-global-statement).

The "Execution model" chapter described the global statement as if it
only allowed one single name. Pluralize "name" in the appropriate places.
(cherry picked from commit 4ecd119)

Co-authored-by: Luca Chiodini <luca@chiodini.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 16, 2021
…onGH-28851)

The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.htmlGH-the-global-statement).

The "Execution model" chapter described the global statement as if it
only allowed one single name. Pluralize "name" in the appropriate places.
(cherry picked from commit 4ecd119)

Co-authored-by: Luca Chiodini <luca@chiodini.org>
terryjreedy pushed a commit that referenced this pull request Oct 16, 2021
…H-28851) (GH-28990)

The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.htmlGH-the-global-statement).

The "Execution model" chapter described the global statement as if it
only allowed one single name. Pluralize "name" in the appropriate places.
(cherry picked from commit 4ecd119)

Co-authored-by: Luca Chiodini <luca@chiodini.org>

Co-authored-by: Luca Chiodini <luca@chiodini.org>
terryjreedy pushed a commit that referenced this pull request Oct 16, 2021
…GH-28851) (GH-28989)

The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.htmlGH-the-global-statement).

The "Execution model" chapter described the global statement as if it
only allowed one single name. Pluralize "name" in the appropriate places.
(cherry picked from commit 4ecd119)

Co-authored-by: Luca Chiodini <luca@chiodini.org>

Co-authored-by: Luca Chiodini <luca@chiodini.org>
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.

5 participants