]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9]bpo-45463: Clarify that global statements allows multiple names (GH-28851) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Oct 2021 14:01:14 +0000 (07:01 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 14:01:14 +0000 (10:01 -0400)
commitac1b7a3319f268487c310ac7449703193f5eddad
treef89450c7db75b35b481346b328f2c203093d0262
parent684860280687561f6312e206c4ccfbe4baa17e89
[3.9]bpo-45463: Clarify that global statements allows multiple names (GH-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 4ecd119b007cb766b8bede2dc78b70d29cd932dd)

Co-authored-by: Luca Chiodini <luca@chiodini.org>
Co-authored-by: Luca Chiodini <luca@chiodini.org>
Doc/reference/executionmodel.rst