diff options
author | Fred Drake <fdrake@acm.org> | 2000-09-12 16:23:48 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-09-12 16:23:48 (GMT) |
commit | 1349437e4c2bfc6e7f601f5a7c284a00fdbdcd6b (patch) | |
tree | 5c9ddc1c33a3c151f2b228c55c000007fe6778c0 /Doc/lib | |
parent | 81cccb7563bdffacc475e50510951a0c3eaf31ef (diff) | |
download | cpython-1349437e4c2bfc6e7f601f5a7c284a00fdbdcd6b.zip cpython-1349437e4c2bfc6e7f601f5a7c284a00fdbdcd6b.tar.gz cpython-1349437e4c2bfc6e7f601f5a7c284a00fdbdcd6b.tar.bz2 |
When referring to namespaces, always say "namespaces" instead of
"name spaces".
Inconsistency noted by Keith Briggs <keith.briggs@bt.com>.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libdis.tex | 4 | ||||
-rw-r--r-- | Doc/lib/libfuncs.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libstdtypes.tex | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index 9d709ac..f31c9f4 100644 --- a/Doc/lib/libdis.tex +++ b/Doc/lib/libdis.tex @@ -480,9 +480,9 @@ in \code{cmp_op[\var{opname}]}. \begin{opcodedesc}{IMPORT_NAME}{namei} Imports the module \code{co_names[\var{namei}]}. The module object is -pushed onto the stack. The current name space is not affected: for a +pushed onto the stack. The current namespace is not affected: for a proper import statement, a subsequent \code{STORE_FAST} instruction -modifies the name space. +modifies the namespace. \end{opcodedesc} \begin{opcodedesc}{IMPORT_FROM}{namei} diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index e6203f6..cb5acde 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -227,7 +227,7 @@ class instances are callable if they have a \method{__call__()} method. The arguments are a file name and two optional dictionaries. The file is parsed and evaluated as a sequence of Python statements (similarly to a module) using the \var{globals} and \var{locals} - dictionaries as global and local name space. If the \var{locals} + dictionaries as global and local namespace. If the \var{locals} dictionary is omitted it defaults to the \var{globals} dictionary. If both dictionaries are omitted, the expression is executed in the environment where \function{execfile()} is called. The return value is diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index d36cdb0..b638fa3 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -888,7 +888,7 @@ different object types. The implementation adds two special read-only attributes: \code{\var{f}.func_code} is a function's \dfn{code object}\obindex{code} (see below) and \code{\var{f}.func_globals} is -the dictionary used as the function's global name space (this is the +the dictionary used as the function's global namespace (this is the same as \code{\var{m}.__dict__} where \var{m} is the module in which the function \var{f} was defined). |