summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdbm.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-02-20 00:14:17 (GMT)
committerFred Drake <fdrake@acm.org>1999-02-20 00:14:17 (GMT)
commitbbac43223c3ead4745d41414df13d113d79334ad (patch)
tree08001df173f742c7ee291ae1e9ad196704fa7d59 /Doc/lib/libdbm.tex
parentda5736533705f22a2673fbdc53ea9c537751c43c (diff)
downloadcpython-bbac43223c3ead4745d41414df13d113d79334ad.zip
cpython-bbac43223c3ead4745d41414df13d113d79334ad.tar.gz
cpython-bbac43223c3ead4745d41414df13d113d79334ad.tar.bz2
Shorten a few section titles.
Diffstat (limited to 'Doc/lib/libdbm.tex')
-rw-r--r--Doc/lib/libdbm.tex16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/lib/libdbm.tex b/Doc/lib/libdbm.tex
index 2efa6e0..8f64728 100644
--- a/Doc/lib/libdbm.tex
+++ b/Doc/lib/libdbm.tex
@@ -1,25 +1,25 @@
\section{\module{dbm} ---
- The standard ``database'' interface, based on ndbm.}
-\declaremodule{builtin}{dbm}
+ Simple ``database'' interface}
+\declaremodule{builtin}{dbm}
\modulesynopsis{The standard ``database'' interface, based on ndbm.}
-The \code{dbm} module provides an interface to the \UNIX{}
+The \module{dbm} module provides an interface to the \UNIX{}
\code{(n)dbm} library. Dbm objects behave like mappings
(dictionaries), except that keys and values are always strings.
Printing a dbm object doesn't print the keys and values, and the
\code{items()} and \code{values()} methods are not supported.
-See also the \code{gdbm} module, which provides a similar interface
-using the GNU GDBM library.
-\refbimodindex{gdbm}
+See also the \refmodule{gdbm}\refbimodindex{gdbm} module, which
+provides a similar interface using the GNU GDBM library.
The module defines the following constant and functions:
\begin{excdesc}{error}
-Raised on dbm-specific errors, such as I/O errors. \code{KeyError} is
-raised for general mapping errors like specifying an incorrect key.
+Raised on dbm-specific errors, such as I/O errors.
+\exception{KeyError} is raised for general mapping errors like
+specifying an incorrect key.
\end{excdesc}
\begin{funcdesc}{open}{filename, \optional{flag, \optional{mode}}}