mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Recorded merge of revisions 78024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78024 | georg.brandl | 2010-02-06 19:44:44 +0100 (Sa, 06 Feb 2010) | 1 line #5341: fix "builtin" where used as an adjective ("built-in" is correct). ........
This commit is contained in:
parent
3102bd9afe
commit
c4a55fccab
14 changed files with 46 additions and 43 deletions
|
@ -953,7 +953,7 @@ definition, function definition, or :keyword:`import` statement.
|
|||
**Programmer's note:** the :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 builtin :func:`exec` function does not affect the code
|
||||
object supplied to the built-in :func:`exec` function does not affect the code
|
||||
block *containing* the function call, and code contained in such a string is
|
||||
unaffected by :keyword:`global` statements in the code containing the function
|
||||
call. The same applies to the :func:`eval` and :func:`compile` functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue