Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/classes.rst @ 63586:236393c554f7
Clarify that abs() is not a namespace.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Mon, 02 Aug 2010 20:44:34 +0000 |
| parents | 25216a7e234d |
| children | 06608cc25fb2 |
line wrap: on
line diff
--- a/Doc/tutorial/classes.rst Mon Aug 02 20:39:35 2010 +0000 +++ b/Doc/tutorial/classes.rst Mon Aug 02 20:44:34 2010 +0000 @@ -65,7 +65,7 @@ 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
