[Python-checkins] r74546 - python/trunk/Doc/tutorial/classes.rst

georg.brandl python-checkins at python.org
Mon Aug 24 19:20:40 CEST 2009


Author: georg.brandl
Date: Mon Aug 24 19:20:40 2009
New Revision: 74546
Log:
#6725: spell "namespace" consistently.
Modified:
 python/trunk/Doc/tutorial/classes.rst
Modified: python/trunk/Doc/tutorial/classes.rst
==============================================================================
--- python/trunk/Doc/tutorial/classes.rst	(original)
+++ python/trunk/Doc/tutorial/classes.rst	Mon Aug 24 19:20:40 2009
@@ -50,8 +50,8 @@
 
 .. _tut-scopes:
 
-Python Scopes and Name Spaces
-=============================
+Python Scopes and Namespaces
+============================
 
 Before introducing classes, I first have to tell you something about Python's
 scope rules. Class definitions play some neat tricks with namespaces, and you
@@ -86,7 +86,7 @@
 :keyword:`del` statement. For example, ``del modname.the_answer`` will remove
 the attribute :attr:`the_answer` from the object named by ``modname``.
 
-Name spaces are created at different moments and have different lifetimes. The
+Namespaces are created at different moments and have different lifetimes. The
 namespace containing the built-in names is created when the Python interpreter
 starts up, and is never deleted. The global namespace for a module is created
 when the module definition is read in; normally, module namespaces also last


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /