Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a46cab

Browse files
committed
remove some more bsddb references
1 parent bd18fd6 commit 9a46cab

4 files changed

Lines changed: 11 additions & 19 deletions

File tree

Doc/library/collections.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ be useful when inheriting directly from :class:`dict` or
2323
The specialized containers provided in this module provide alternatives
2424
to Python's general purpose built-in containers, :class:`dict`,
2525
:class:`list`, :class:`set`, and :class:`tuple`.
26-
Besides the containers provided here, the optional :mod:`bsddb`
27-
module offers the ability to create in-memory or file based ordered
28-
dictionaries with string keys using the :meth:`bsddb.btopen` method.
2926

3027
In addition to containers, the collections module provides some ABCs
3128
(abstract base classes) that can be used to test whether a class

Doc/library/dbm.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ to simplify building this module.
268268
database modules.
269269

270270
The :mod:`dbm.dumb` module provides a persistent dictionary-like interface which
271-
is written entirely in Python. Unlike other modules such as :mod:`gdbm` and
272-
:mod:`bsddb`, no external library is required. As with other persistent
273-
mappings, the keys and values must always be strings.
271+
is written entirely in Python. Unlike other modules such as :mod:`gdbm` no
272+
external library is required. As with other persistent mappings, the keys and
273+
values must always be strings.
274274

275275
The module defines the following:
276276

Doc/library/shelve.rst

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,14 @@ Restrictions
5555
.. index::
5656
module: dbm.ndbm
5757
module: dbm.gnu
58-
module: bsddb
5958

60-
* The choice of which database package will be used (such as :mod:`dbm.ndbm`,
61-
:mod:`dbm.gnu` or :mod:`bsddb`) depends on which interface is available. Therefore
62-
it is not safe to open the database directly using :mod:`dbm`. The database is
63-
also (unfortunately) subject to the limitations of :mod:`dbm`, if it is used ---
59+
* The choice of which database package will be used (such as :mod:`dbm.ndbm` or
60+
:mod:`dbm.gnu`) depends on which interface is available. Therefore it is not
61+
safe to open the database directly using :mod:`dbm`. The database is also
62+
(unfortunately) subject to the limitations of :mod:`dbm`, if it is used ---
6463
this means that (the pickled representation of) the objects stored in the
65-
database should be fairly small, and in rare cases key collisions may cause the
66-
database to refuse updates.
64+
database should be fairly small, and in rare cases key collisions may cause
65+
the database to refuse updates.
6766

6867
* Depending on the implementation, closing a persistent dictionary may or may
6968
not be necessary to flush changes to disk. The :meth:`__del__` method of the
@@ -155,9 +154,6 @@ object)::
155154
Module :mod:`dbm`
156155
Generic interface to ``dbm``-style databases.
157156

158-
Module :mod:`bsddb`
159-
BSD ``db`` database interface.
160-
161157
Module :mod:`pickle`
162158
Object serialization used by :mod:`shelve`.
163159

Doc/reference/datamodel.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,9 @@ Mappings
405405
.. index::
406406
module: dbm.ndbm
407407
module: dbm.gnu
408-
module: bsddb
409408

410-
The extension modules :mod:`dbm.ndbm`, :mod:`dbm.gnu`, and :mod:`bsddb`
411-
provide additional examples of mapping types, as does the :mod:`collections`
409+
The extension modules :mod:`dbm.ndbm` and :mod:`dbm.gnu` provide
410+
additional examples of mapping types, as does the :mod:`collections`
412411
module.
413412

414413
Callable types

0 commit comments

Comments
 (0)