]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10]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:54 +0000 (07:01 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 14:01:54 +0000 (10:01 -0400)
commit855d6247adb39d4e38b698b89e519587318abd80
tree5b528aeafe1c9a8e768f80269ad65d675bb18105
parent2b6eb8149656541044884e76212495175e061a0a
[3.10]bpo-45463: Clarify that global statements allows multiple names (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 4ecd119b007cb766b8bede2dc78b70d29cd932dd)

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