diff options
author | Georg Brandl <georg@python.org> | 2010-08-02 20:44:34 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-02 20:44:34 (GMT) |
commit | 17dafdc249aad5f1a9d1a1e48da5803441297ec9 (patch) | |
tree | afe7101cc932592e7e3db36631fdb36892007e9b /Doc/tutorial/classes.rst | |
parent | 62e4231a27667f30b4d2748379f4c6491f3a32c2 (diff) | |
download | cpython-17dafdc249aad5f1a9d1a1e48da5803441297ec9.zip cpython-17dafdc249aad5f1a9d1a1e48da5803441297ec9.tar.gz cpython-17dafdc249aad5f1a9d1a1e48da5803441297ec9.tar.bz2 |
Clarify that abs() is not a namespace.
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r-- | Doc/tutorial/classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index da4d520..4113b30 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -65,7 +65,7 @@ Let's begin with some definitions. A *namespace* is a mapping from names to objects. Most namespaces are currently implemented as Python dictionaries, but that's normally not noticeable in any way (except for performance), and it may change in the future. Examples of -namespaces are: the set of built-in names (functions such as :func:`abs`, and +namespaces are: the set of built-in names (containing functions such as :func:`abs`, and built-in exception names); the global names in a module; and the local names in a function invocation. In a sense the set of attributes of an object also form a namespace. The important thing to know about namespaces is that there is |