Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfb658c

Browse files
committed
'name space' -> 'namespace'
1 parent a488f30 commit dfb658c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/ref/ref3.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ \section{The standard type hierarchy} \label{types}
383383
have a default value; \code{func_code} is the code object representing
384384
the compiled function body; \code{func_globals} is (a reference to)
385385
the dictionary that holds the function's global variables --- it
386-
defines the global name space of the module in which the function was
386+
defines the global namespace of the module in which the function was
387387
defined. Additional information about a function's definition can be
388388
retrieved from its code object; see the description of internal types
389389
below.
@@ -393,7 +393,7 @@ \section{The standard type hierarchy} \label{types}
393393
\ttindex{func_defaults}
394394
\ttindex{func_code}
395395
\ttindex{func_globals}
396-
\indexii{global}{name space}
396+
\indexii{global}{namespace}
397397

398398
\item[User-defined methods]
399399
A user-defined method object combines a class, a class instance (or
@@ -498,7 +498,7 @@ \section{The standard type hierarchy} \label{types}
498498
\item[Modules]
499499
Modules are imported by the \keyword{import} statement (see section
500500
\ref{import}, ``The \keyword{import} statement'').
501-
A module object has a name space implemented by a dictionary object
501+
A module object has a namespace implemented by a dictionary object
502502
(this is the dictionary referenced by the func_globals attribute of
503503
functions defined in the module). Attribute references are translated
504504
to lookups in this dictionary, e.g., \code{m.x} is equivalent to
@@ -509,11 +509,11 @@ \section{The standard type hierarchy} \label{types}
509509
\stindex{import}
510510
\obindex{module}
511511

512-
Attribute assignment updates the module's name space dictionary,
512+
Attribute assignment updates the module's namespace dictionary,
513513
e.g., ``\code{m.x = 1}'' is equivalent to ``\code{m.__dict__["x"] = 1}''.
514514

515-
Special read-only attribute: \member{__dict__} is the module's name
516-
space as a dictionary object.
515+
Special read-only attribute: \member{__dict__} is the module's
516+
namespace as a dictionary object.
517517
\ttindex{__dict__}
518518

519519
Predefined (writable) attributes: \member{__name__}
@@ -528,7 +528,7 @@ \section{The standard type hierarchy} \label{types}
528528
\ttindex{__name__}
529529
\ttindex{__doc__}
530530
\ttindex{__file__}
531-
\indexii{module}{name space}
531+
\indexii{module}{namespace}
532532

533533
\item[Classes]
534534
Class objects are created by class definitions (see section
@@ -564,7 +564,7 @@ \section{The standard type hierarchy} \label{types}
564564

565565
Special attributes: \member{__name__} is the class name;
566566
\member{__module__} is the module name in which the class was defined;
567-
\member{__dict__} is the dictionary containing the class's name space;
567+
\member{__dict__} is the dictionary containing the class's namespace;
568568
\member{__bases__} is a tuple (possibly empty or a singleton)
569569
containing the base classes, in the order of their occurrence in the
570570
base class list; \code{__doc__} is the class's documentation string,

0 commit comments

Comments
 (0)