remove some more bsddb references

This commit is contained in:
Benjamin Peterson 2008-09-08 02:49:30 +00:00
parent bd18fd6710
commit 9a46cab613
4 changed files with 11 additions and 19 deletions

View File

@ -23,9 +23,6 @@ be useful when inheriting directly from :class:`dict` or
The specialized containers provided in this module provide alternatives
to Python's general purpose built-in containers, :class:`dict`,
:class:`list`, :class:`set`, and :class:`tuple`.
Besides the containers provided here, the optional :mod:`bsddb`
module offers the ability to create in-memory or file based ordered
dictionaries with string keys using the :meth:`bsddb.btopen` method.
In addition to containers, the collections module provides some ABCs
(abstract base classes) that can be used to test whether a class

View File

@ -268,9 +268,9 @@ to simplify building this module.
database modules.
The :mod:`dbm.dumb` module provides a persistent dictionary-like interface which
is written entirely in Python. Unlike other modules such as :mod:`gdbm` and
:mod:`bsddb`, no external library is required. As with other persistent
mappings, the keys and values must always be strings.
is written entirely in Python. Unlike other modules such as :mod:`gdbm` no
external library is required. As with other persistent mappings, the keys and
values must always be strings.
The module defines the following:

View File

@ -55,15 +55,14 @@ Restrictions
.. index::
module: dbm.ndbm
module: dbm.gnu
module: bsddb
* The choice of which database package will be used (such as :mod:`dbm.ndbm`,
:mod:`dbm.gnu` or :mod:`bsddb`) depends on which interface is available. Therefore
it is not safe to open the database directly using :mod:`dbm`. The database is
also (unfortunately) subject to the limitations of :mod:`dbm`, if it is used ---
* The choice of which database package will be used (such as :mod:`dbm.ndbm` or
:mod:`dbm.gnu`) depends on which interface is available. Therefore it is not
safe to open the database directly using :mod:`dbm`. The database is also
(unfortunately) subject to the limitations of :mod:`dbm`, if it is used ---
this means that (the pickled representation of) the objects stored in the
database should be fairly small, and in rare cases key collisions may cause the
database to refuse updates.
database should be fairly small, and in rare cases key collisions may cause
the database to refuse updates.
* Depending on the implementation, closing a persistent dictionary may or may
not be necessary to flush changes to disk. The :meth:`__del__` method of the
@ -155,9 +154,6 @@ object)::
Module :mod:`dbm`
Generic interface to ``dbm``-style databases.
Module :mod:`bsddb`
BSD ``db`` database interface.
Module :mod:`pickle`
Object serialization used by :mod:`shelve`.

View File

@ -405,10 +405,9 @@ Mappings
.. index::
module: dbm.ndbm
module: dbm.gnu
module: bsddb
The extension modules :mod:`dbm.ndbm`, :mod:`dbm.gnu`, and :mod:`bsddb`
provide additional examples of mapping types, as does the :mod:`collections`
The extension modules :mod:`dbm.ndbm` and :mod:`dbm.gnu` provide
additional examples of mapping types, as does the :mod:`collections`
module.
Callable types