diff options
Diffstat (limited to 'Doc/lib/libdbm.tex')
-rw-r--r-- | Doc/lib/libdbm.tex | 16 |
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}}} |