summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-04 09:30:30 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-04 09:30:30 (GMT)
commit1158a33fab14fe0522dd5ebc753c573369652eff (patch)
tree4e163616865a7559e94587f62f8976673c678d02 /Doc/library
parentb54d801280e3f510782e2855504710947d10f053 (diff)
downloadcpython-1158a33fab14fe0522dd5ebc753c573369652eff.zip
cpython-1158a33fab14fe0522dd5ebc753c573369652eff.tar.gz
cpython-1158a33fab14fe0522dd5ebc753c573369652eff.tar.bz2
#3791: remove last traces of bsddb.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/shelve.rst14
-rw-r--r--Doc/library/weakref.rst5
2 files changed, 10 insertions, 9 deletions
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst
index 6dfef68..62005a4 100644
--- a/Doc/library/shelve.rst
+++ b/Doc/library/shelve.rst
@@ -102,12 +102,14 @@ Restrictions
.. class:: BsdDbShelf(dict[, protocol=None[, writeback=False]])
A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`next`,
- :meth:`previous`, :meth:`last` and :meth:`set_location` which are available in
- the :mod:`bsddb` module but not in other database modules. The *dict* object
- passed to the constructor must support those methods. This is generally
- accomplished by calling one of :func:`bsddb.hashopen`, :func:`bsddb.btopen` or
- :func:`bsddb.rnopen`. The optional *protocol* and *writeback* parameters have
- the same interpretation as for the :class:`Shelf` class.
+ :meth:`previous`, :meth:`last` and :meth:`set_location` which are available
+ in the third-party :mod:`bsddb` module from `pybsddb
+ <http://www.jcea.es/programacion/pybsddb.htm>`_ but not in other database
+ modules. The *dict* object passed to the constructor must support those
+ methods. This is generally accomplished by calling one of
+ :func:`bsddb.hashopen`, :func:`bsddb.btopen` or :func:`bsddb.rnopen`. The
+ optional *protocol* and *writeback* parameters have the same interpretation
+ as for the :class:`Shelf` class.
.. class:: DbfilenameShelf(filename[, flag='c'[, protocol=None[, writeback=False]]])
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 3681d81..0f3ebe6 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -59,9 +59,8 @@ is exposed by the :mod:`weakref` module for the benefit of advanced uses.
Not all objects can be weakly referenced; those objects which can include class
instances, functions written in Python (but not in C), instance methods, sets,
-frozensets, file objects, :term:`generator`\s, type objects, :class:`DBcursor`
-objects from the :mod:`bsddb` module, sockets, arrays, deques, and regular
-expression pattern objects.
+frozensets, file objects, :term:`generator`\s, type objects, sockets, arrays,
+deques, and regular expression pattern objects.
Several builtin types such as :class:`list` and :class:`dict` do not directly
support weak references but can add support through subclassing::