]> granicus.if.org Git - python/commitdiff
[2.7] Fix a trivial typo in global section (GH-1497) (GH-1882)
authorMariatta <Mariatta@users.noreply.github.com>
Wed, 31 May 2017 05:08:19 +0000 (22:08 -0700)
committerGitHub <noreply@github.com>
Wed, 31 May 2017 05:08:19 +0000 (22:08 -0700)
(cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)

Doc/reference/simple_stmts.rst

index 848bb9e93d1315e2a0dcd8451aaa1590ffddcaa3..43935da4406e3ee1b5a24c3a8171060b8a2368b5 100644 (file)
@@ -972,7 +972,7 @@ definition, function definition, or :keyword:`import` statement.
    builtin: execfile
    builtin: compile
 
-**Programmer's note:** the :keyword:`global` is a directive to the parser.  It
+**Programmer's note:** :keyword:`global` is a directive to the parser.  It
 applies only to code parsed at the same time as the :keyword:`global` statement.
 In particular, a :keyword:`global` statement contained in an :keyword:`exec`
 statement does not affect the code block *containing* the :keyword:`exec`