From: Mariatta Date: Wed, 31 May 2017 05:08:12 +0000 (-0700) Subject: [3.5] Fix a trivial typo in global section (GH-1497) (GH-1881) X-Git-Tag: v3.5.4rc1~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99424d8f2a311916e1626c0420432453068b6169;p=python [3.5] Fix a trivial typo in global section (GH-1497) (GH-1881) (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea) --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index d403c4d546..35c823992a 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -872,7 +872,7 @@ definition, function definition, or :keyword:`import` statement. builtin: eval 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 a string or code object supplied to the built-in :func:`exec` function does not affect the code