mirror of https://github.com/python/cpython
Added \indexsubitem definition. Non-optimal, but two modules are sharing
the documentation here.
This commit is contained in:
parent
92796d1f01
commit
2478f9d5a2
|
@ -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}
|
installed, the slow-but-simple implementation in module \code{dumbdbm}
|
||||||
will be used. Both modules provide the same interface:
|
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}}
|
\begin{funcdesc}{open}{filename\optional{\, flag\, mode}}
|
||||||
Open the database file \var{filename} and return a corresponding object.
|
Open the database file \var{filename} and return a corresponding object.
|
||||||
The optional \var{flag} argument can be
|
The optional \var{flag} argument can be
|
||||||
|
|
|
@ -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}
|
installed, the slow-but-simple implementation in module \code{dumbdbm}
|
||||||
will be used. Both modules provide the same interface:
|
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}}
|
\begin{funcdesc}{open}{filename\optional{\, flag\, mode}}
|
||||||
Open the database file \var{filename} and return a corresponding object.
|
Open the database file \var{filename} and return a corresponding object.
|
||||||
The optional \var{flag} argument can be
|
The optional \var{flag} argument can be
|
||||||
|
|
Loading…
Reference in New Issue