summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-02-17 20:06:51 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-02-17 20:06:51 (GMT)
commitacd82b99c87d85511e5967e8836b36d950f965e5 (patch)
tree9204bdfb2685781a12a2b86ee5f36aefebb7ac50 /Doc
parentf76b920942831272a460dd3030d1e64fafc3924e (diff)
downloadcpython-acd82b99c87d85511e5967e8836b36d950f965e5.zip
cpython-acd82b99c87d85511e5967e8836b36d950f965e5.tar.gz
cpython-acd82b99c87d85511e5967e8836b36d950f965e5.tar.bz2
Fix-up intro paragraph for collections docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst11
1 files changed, 4 insertions, 7 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index a179d0f..4b3bbe9 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -14,11 +14,8 @@
__name__ = '<doctest>'
This module implements high-performance container datatypes. Currently,
-there are two datatypes, :class:`deque` and :class:`defaultdict`, and
-one datatype factory function, :func:`namedtuple`. This module also
-provides the :class:`UserDict` and :class:`UserList` classes which may
-be useful when inheriting directly from :class:`dict` or
-:class:`list` isn't convenient.
+there are three datatypes, :class:`Counter`, :class:`deque` and
+:class:`defaultdict`, and one datatype factory function, :func:`namedtuple`.
The specialized containers provided in this module provide alternatives
to Python's general purpose built-in containers, :class:`dict`,
@@ -26,8 +23,8 @@ to Python's general purpose built-in containers, :class:`dict`,
In addition to containers, the collections module provides some ABCs
(abstract base classes) that can be used to test whether a class
-provides a particular interface, for example, is it hashable or
-a mapping, and some of them can also be used as mixin classes.
+provides a particular interface, for example, whether it is hashable or
+a mapping.
ABCs - abstract base classes
----------------------------