diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/templates/module.tex | |
parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
download | cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2 |
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/templates/module.tex')
-rw-r--r-- | Doc/templates/module.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/templates/module.tex b/Doc/templates/module.tex index 29aeb63..4375649 100644 --- a/Doc/templates/module.tex +++ b/Doc/templates/module.tex @@ -45,7 +45,7 @@ The \code{spam} module defines the following functions: % Redefine the ``indexsubitem'' macro to point to this module % (alternatively, you can put this at the top of the file): -\renewcommand{\indexsubitem}{(in module spam)} +\setindexsubitem{(in module spam)} % ---- 3.2. ---- % For each function, use a ``funcdesc'' block. This has exactly two @@ -101,12 +101,12 @@ failure. Example: -\bcode\begin{verbatim} +\begin{verbatim} >>> import spam >>> can = spam.open('/etc/passwd') >>> can.empty() >>> can.close() -\end{verbatim}\ecode +\end{verbatim} % % ==== 5. ==== % If your module defines new object types (for a built-in module) or @@ -120,7 +120,7 @@ Example: Spam objects (returned by \code{open()} above) have the following methods. -\renewcommand{\indexsubitem}{(spam method)} +\setindexsubitem{(spam method)} \begin{funcdesc}{empty}{} Empty the can into the trash. |