summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-11-30 05:38:44 (GMT)
committerFred Drake <fdrake@acm.org>1997-11-30 05:38:44 (GMT)
commit2478f9d5a2913303592dbe363b5e61922546ff29 (patch)
tree6fcc5416f0491f5e50feafaa65be084dcf4c8402 /Doc
parent92796d1f01cd384eecab67aa27ec26f85b033437 (diff)
downloadcpython-2478f9d5a2913303592dbe363b5e61922546ff29.zip
cpython-2478f9d5a2913303592dbe363b5e61922546ff29.tar.gz
cpython-2478f9d5a2913303592dbe363b5e61922546ff29.tar.bz2
Added \indexsubitem definition. Non-optimal, but two modules are sharing
the documentation here.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libanydbm.tex4
-rw-r--r--Doc/libanydbm.tex4
2 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libanydbm.tex b/Doc/lib/libanydbm.tex
index a7d6798..70bac79 100644
--- a/Doc/lib/libanydbm.tex
+++ b/Doc/lib/libanydbm.tex
@@ -7,6 +7,10 @@ database--DBM, GDBM, or dbhash. If none of these modules is
installed, the slow-but-simple implementation in module \code{dumbdbm}
will be used. Both modules provide the same interface:
+% not the best solution, but it's what you get for documenting both
+% at the same time.
+\renewcommand{\indexsubitem}{(in modules anydbm, dumbdbm)}
+
\begin{funcdesc}{open}{filename\optional{\, flag\, mode}}
Open the database file \var{filename} and return a corresponding object.
The optional \var{flag} argument can be
diff --git a/Doc/libanydbm.tex b/Doc/libanydbm.tex
index a7d6798..70bac79 100644
--- a/Doc/libanydbm.tex
+++ b/Doc/libanydbm.tex
@@ -7,6 +7,10 @@ database--DBM, GDBM, or dbhash. If none of these modules is
installed, the slow-but-simple implementation in module \code{dumbdbm}
will be used. Both modules provide the same interface:
+% not the best solution, but it's what you get for documenting both
+% at the same time.
+\renewcommand{\indexsubitem}{(in modules anydbm, dumbdbm)}
+
\begin{funcdesc}{open}{filename\optional{\, flag\, mode}}
Open the database file \var{filename} and return a corresponding object.
The optional \var{flag} argument can be