summaryrefslogtreecommitdiffstats
path: root/Doc/library/dbm.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-23 02:46:34 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-23 02:46:34 (GMT)
commitdcb6c88a240fea82da8867d1de1022a4555f22b4 (patch)
tree69d79bbbeffa667cf5c77387a1ee1ae5df6c2e6f /Doc/library/dbm.rst
parent06a1fcbb0035c664fefc53ddb8df65cc03a537b7 (diff)
downloadcpython-dcb6c88a240fea82da8867d1de1022a4555f22b4.zip
cpython-dcb6c88a240fea82da8867d1de1022a4555f22b4.tar.gz
cpython-dcb6c88a240fea82da8867d1de1022a4555f22b4.tar.bz2
Issue #27304: Source code links for sub-packages in the same file.
Patch by Yoni Lavi
Diffstat (limited to 'Doc/library/dbm.rst')
-rw-r--r--Doc/library/dbm.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst
index 6f64196..2a1db91 100644
--- a/Doc/library/dbm.rst
+++ b/Doc/library/dbm.rst
@@ -128,6 +128,9 @@ The individual submodules are described in the following sections.
:platform: Unix
:synopsis: GNU's reinterpretation of dbm.
+**Source code:** :source:`Lib/dbm/gnu.py`
+
+--------------
This module is quite similar to the :mod:`dbm` module, but uses the GNU library
``gdbm`` instead to provide some additional functionality. Please note that the
@@ -237,6 +240,9 @@ supported.
:platform: Unix
:synopsis: The standard "database" interface, based on ndbm.
+**Source code:** :source:`Lib/dbm/ndbm.py`
+
+--------------
The :mod:`dbm.ndbm` module provides an interface to the Unix "(n)dbm" library.
Dbm objects behave like mappings (dictionaries), except that keys and values are
@@ -299,6 +305,8 @@ to locate the appropriate header file to simplify building this module.
.. module:: dbm.dumb
:synopsis: Portable implementation of the simple DBM interface.
+**Source code:** :source:`Lib/dbm/dumb.py`
+
.. index:: single: databases
.. note::
@@ -308,6 +316,8 @@ to locate the appropriate header file to simplify building this module.
module is not written for speed and is not nearly as heavily used as the other
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:`dbm.gnu` no
external library is required. As with other persistent mappings, the keys and