Added to the description: mention of and links to dict, list, and tuple,

and mention of bsddb.btopen().
This commit is contained in:
mark.summerfield 2007-08-06 08:54:04 +00:00
parent cf0ab55a5a
commit cbd3fe5790

View File

@ -10,10 +10,16 @@
.. versionadded:: 2.4 .. versionadded:: 2.4
This module implements high-performance container datatypes. Currently, there This module implements high-performance container datatypes. Currently,
are two datatypes, deque and defaultdict, and one datatype factory function, there are two datatypes, :class:`deque` and :class:`defaultdict`, and
:func:`NamedTuple`. Future additions may include balanced trees and ordered one datatype factory function, :func:`NamedTuple`. Python already
dictionaries. 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 .. versionchanged:: 2.5
Added defaultdict. Added defaultdict.