[Python-checkins] r69723 - python/branches/py3k/Doc/library/collections.rst

raymond.hettinger python-checkins at python.org
Tue Feb 17 21:06:51 CET 2009


Author: raymond.hettinger
Date: Tue Feb 17 21:06:51 2009
New Revision: 69723

Log:
Fix-up intro paragraph for collections docs.



Modified:
   python/branches/py3k/Doc/library/collections.rst

Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst	(original)
+++ python/branches/py3k/Doc/library/collections.rst	Tue Feb 17 21:06:51 2009
@@ -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 @@
 
 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
 ----------------------------


More information about the Python-checkins mailing list