From cbd3fe57904c445d027a02d507e0c30670f62616 Mon Sep 17 00:00:00 2001 From: "mark.summerfield" Date: Mon, 6 Aug 2007 08:54:04 +0000 Subject: [PATCH] Added to the description: mention of and links to dict, list, and tuple, and mention of bsddb.btopen(). --- Doc-26/library/collections.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Doc-26/library/collections.rst b/Doc-26/library/collections.rst index e2f6b7ff6..e5203d94c 100644 --- a/Doc-26/library/collections.rst +++ b/Doc-26/library/collections.rst @@ -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.