This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Document that # of identifiers allowed in global stmt is plural
Type: Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, lucach, miss-islington, terry.reedy
Priority: normal Keywords: patch

Created on 2021-10-13 17:54 by lucach, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 28851 merged lucach, 2021-10-13 17:54
PR 28989 merged miss-islington, 2021-10-16 12:55
PR 28990 merged miss-islington, 2021-10-16 12:55
Messages (5)
msg403864 - (view) Author: Luca (lucach) * Date: 2021-10-13 17:54
The global statement allows specifying a list of identifiers, as correctly reported in the "Simple statements" chapter: https://docs.python.org/3/reference/simple_stmts.html#the-global-statement.

Inconsistently, however, the "Execution model" chapter describes the global statement as if it only allowed one single name.

This can be addressed by pluralizing the word "name" in the appropriate places in the "Execution model" chapter.
msg404077 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-10-16 12:55
New changeset 4ecd119b007cb766b8bede2dc78b70d29cd932dd by Luca Chiodini in branch 'main':
bpo-45463: Clarify that global statements allows multiple names (GH-28851)
https://github.com/python/cpython/commit/4ecd119b007cb766b8bede2dc78b70d29cd932dd
msg404079 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-10-16 14:01
New changeset ac1b7a3319f268487c310ac7449703193f5eddad by Miss Islington (bot) in branch '3.9':
[3.9]bpo-45463: Clarify that global statements allows multiple names (GH-28851) (GH-28990)
https://github.com/python/cpython/commit/ac1b7a3319f268487c310ac7449703193f5eddad
msg404080 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-10-16 14:01
New changeset 855d6247adb39d4e38b698b89e519587318abd80 by Miss Islington (bot) in branch '3.10':
[3.10]bpo-45463: Clarify that global statements allows multiple names (GH-28851) (GH-28989)
https://github.com/python/cpython/commit/855d6247adb39d4e38b698b89e519587318abd80
msg404081 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-10-16 14:02
Thanks for the ready-to-go patch.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89626
2021-10-16 14:02:47terry.reedysetstatus: open -> closed
resolution: fixed
messages: + msg404081

stage: patch review -> resolved
2021-10-16 14:01:58terry.reedysetmessages: + msg404080
2021-10-16 14:01:21terry.reedysetmessages: + msg404079
2021-10-16 12:55:39miss-islingtonsetpull_requests: + pull_request27274
2021-10-16 12:55:35miss-islingtonsetkeywords: + patch
nosy: + miss-islington
pull_requests: + pull_request27273
2021-10-16 12:55:22terry.reedysetnosy: + terry.reedy
messages: + msg404077
2021-10-16 12:07:27terry.reedysettitle: Documentation inconsistency on the number of identifiers allowed in global stmt -> Document that # of identifiers allowed in global stmt is plural
stage: patch review
versions: + Python 3.9, Python 3.10, Python 3.11
2021-10-13 17:54:03lucachcreate