[Python-checkins] r56767 - doctools/trunk/Doc-26/library/collections.rst
mark.summerfield
python-checkins at python.org
Mon Aug 6 10:54:04 CEST 2007
Author: mark.summerfield
Date: Mon Aug 6 10:54:04 2007
New Revision: 56767
Modified:
doctools/trunk/Doc-26/library/collections.rst
Log:
Added to the description: mention of and links to dict, list, and tuple,
and mention of bsddb.btopen().
Modified: doctools/trunk/Doc-26/library/collections.rst
==============================================================================
--- doctools/trunk/Doc-26/library/collections.rst (original)
+++ doctools/trunk/Doc-26/library/collections.rst Mon Aug 6 10:54:04 2007
@@ -10,10 +10,16 @@
.. versionadded:: 2.4
-This module implements high-performance container datatypes. Currently, there
-are two datatypes, deque and defaultdict, and one datatype factory function,
-:func:`NamedTuple`. Future additions may include balanced trees and ordered
-dictionaries.
+This module implements high-performance container datatypes. Currently,
+there are two datatypes, :class:`deque` and :class:`defaultdict`, and
+one datatype factory function, :func:`NamedTuple`. Python already
+includes built-in containers, :func:`dict`, :func:`list`, and
+:func:`tuple`. The optional :mod:`bsddb` module has a :meth:`btopen`
+method that can be used to create in-memory or file based ordered
+dictionaries with string keys.
+
+Future editions of the standard library may include balanced trees and
+ordered dictionaries.
.. versionchanged:: 2.5
Added defaultdict.
More information about the Python-checkins
mailing list