summaryrefslogtreecommitdiffstats
path: root/Doc/templates
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-24 21:43:05 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-24 21:43:05 (GMT)
commitd10d0faaa58129759fb80864d25928e4ea3ce84a (patch)
tree1b8ba41f1ea377f70828aa76282ae7b56a4c14d0 /Doc/templates
parenteb9b83104a3062c94b6f50d0cea4e07d8f52e09e (diff)
downloadcpython-d10d0faaa58129759fb80864d25928e4ea3ce84a.zip
cpython-d10d0faaa58129759fb80864d25928e4ea3ce84a.tar.gz
cpython-d10d0faaa58129759fb80864d25928e4ea3ce84a.tar.bz2
Logical markup.
Diffstat (limited to 'Doc/templates')
-rw-r--r--Doc/templates/module.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/templates/module.tex b/Doc/templates/module.tex
index 4375649..db07934 100644
--- a/Doc/templates/module.tex
+++ b/Doc/templates/module.tex
@@ -25,7 +25,7 @@
% Mention other important restrictions or general operating principles.
% For example:
-The \code{spam} module defines operations for handling cans of Spam.
+The \module{spam} module defines operations for handling cans of Spam.
It knows the four generally available Spam varieties and understands
both can sizes.
@@ -39,7 +39,7 @@ is only available on genuine \UNIX{} systems.
% items defined in the module, insofar as they are important for the
% user.
-The \code{spam} module defines the following functions:
+The \module{spam} module defines the following functions:
% ---- 3.1. ----
% Redefine the ``indexsubitem'' macro to point to this module
@@ -75,7 +75,7 @@ system dependent).
\begin{datadesc}{cansize}
The default can size, in ounces. Legal values are 7 and 12. The
default varies per supermarket. This variable should not be changed
-once the \code{open()} function has been called.
+once the \function{open()} function has been called.
\end{datadesc}
% --- 3.4. ---
@@ -117,7 +117,7 @@ Example:
\subsection{Spam Objects}
-Spam objects (returned by \code{open()} above) have the following
+Spam objects (returned by \function{open()} above) have the following
methods.
\setindexsubitem{(spam method)}