@@ -383,7 +383,7 @@ \section{The standard type hierarchy} \label{types}
383383have a default value; \code {func_code} is the code object representing
384384the compiled function body; \code {func_globals} is (a reference to)
385385the 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
387387defined. Additional information about a function's definition can be
388388retrieved from its code object; see the description of internal types
389389below.
@@ -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]
399399A 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]
499499Modules 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
503503functions defined in the module). Attribute references are translated
504504to 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,
513513e.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
519519Predefined (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]
534534Class objects are created by class definitions (see section
@@ -564,7 +564,7 @@ \section{The standard type hierarchy} \label{types}
564564
565565Special 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)
569569containing the base classes, in the order of their occurrence in the
570570base class list; \code {__doc__} is the class's documentation string,
0 commit comments