diff options
| author | Georg Brandl <georg@python.org> | 2010-03-07 15:23:59 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-03-07 15:23:59 +0000 |
| commit | f2b391e6fc55c03f120c973bb33f663fb643893e (patch) | |
| tree | 2d105fcc4a1bde90edaa86df9cee85aebad7636c /Doc/reference | |
| parent | 619351c197b3080f880bac63f4d8f8c0a550611e (diff) | |
| download | cpython-f2b391e6fc55c03f120c973bb33f663fb643893e.tar.gz | |
#5341: more built-in vs builtin fixes.
Diffstat (limited to 'Doc/reference')
| -rw-r--r-- | Doc/reference/executionmodel.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index 9f6170d7e1..4e38536892 100644 --- a/Doc/reference/executionmodel.rst +++ b/Doc/reference/executionmodel.rst @@ -119,7 +119,7 @@ searched. The global statement must precede all uses of the name. .. index:: pair: restricted; execution -The built-in namespace associated with the execution of a code block is actually +The builtins namespace associated with the execution of a code block is actually found by looking up the name ``__builtins__`` in its global namespace; this should be a dictionary or a module (in the latter case the module's dictionary is used). By default, when in the :mod:`__main__` module, ``__builtins__`` is @@ -131,7 +131,7 @@ weak form of restricted execution. .. impl-detail:: Users should not touch ``__builtins__``; it is strictly an implementation - detail. Users wanting to override values in the built-in namespace should + detail. Users wanting to override values in the builtins namespace should :keyword:`import` the :mod:`__builtin__` (no 's') module and modify its attributes appropriately. |
