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 The specialized containers provided in this module provide alternatives
to Python's general purpose built-in containers, :class:`dict`, to Python's general purpose built-in containers, :class:`dict`,
:class:`list`, :class:`set`, and :class:`tuple`. :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 In addition to containers, the collections module provides some ABCs
(abstract base classes) that can be used to test whether a class (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. database modules.
The :mod:`dbm.dumb` module provides a persistent dictionary-like interface which 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 is written entirely in Python. Unlike other modules such as :mod:`gdbm` no
:mod:`bsddb`, no external library is required. As with other persistent external library is required. As with other persistent mappings, the keys and
mappings, the keys and values must always be strings. values must always be strings.
The module defines the following: The module defines the following:

View File

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

View File

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