mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added to the description: mention of and links to dict, list, and tuple,
and mention of bsddb.btopen().
This commit is contained in:
parent
cf0ab55a5a
commit
cbd3fe5790
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user