summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-08-24 17:20:40 (GMT)
committerGeorg Brandl <georg@python.org>2009-08-24 17:20:40 (GMT)
commit0cfbd65975aaebc3b57bbd73f3ee99cc6f53776c (patch)
tree7331f2a9cc49b802b30ac1eaf51ac6b78082a9a8
parent87296628f16438c1a556a026036043d70b8784f0 (diff)
downloadcpython-0cfbd65975aaebc3b57bbd73f3ee99cc6f53776c.zip
cpython-0cfbd65975aaebc3b57bbd73f3ee99cc6f53776c.tar.gz
cpython-0cfbd65975aaebc3b57bbd73f3ee99cc6f53776c.tar.bz2
#6725: spell "namespace" consistently.
-rw-r--r--Doc/tutorial/classes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 9a01f3a..891f635 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -50,8 +50,8 @@ need for two different argument passing mechanisms as in Pascal.
.. _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 @@ attributes is possible. Module attributes are writable: you can write
: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