From: Mariatta Date: Wed, 31 May 2017 05:08:19 +0000 (-0700) Subject: [2.7] Fix a trivial typo in global section (GH-1497) (GH-1882) X-Git-Tag: v2.7.14rc1~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e81aa87562421f4293178dd93b5c8c96ed492eb7;p=python [2.7] Fix a trivial typo in global section (GH-1497) (GH-1882) (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea) --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 848bb9e93d..43935da440 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -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`