summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtypes2.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
commit1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch)
tree260789493c7151408f009eaa84a7815ce4d28246 /Doc/lib/libtypes2.tex
parentdc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff)
downloadcpython-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/lib/libtypes2.tex')
-rw-r--r--Doc/lib/libtypes2.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libtypes2.tex b/Doc/lib/libtypes2.tex
index afb02e5..8bf5863 100644
--- a/Doc/lib/libtypes2.tex
+++ b/Doc/lib/libtypes2.tex
@@ -2,7 +2,7 @@
\label{module-types}
\stmodindex{types}
-\renewcommand{\indexsubitem}{(in module types)}
+\setindexsubitem{(in module types)}
This module defines names for all object types that are used by the
standard Python interpreter (but not for the types defined by various
@@ -14,14 +14,14 @@ all end in \code{Type}.
Typical use is for functions that do different things depending on
their argument types, like the following:
-\bcode\begin{verbatim}
+\begin{verbatim}
from types import *
def delete(list, item):
if type(item) is IntType:
del list[item]
else:
list.remove(item)
-\end{verbatim}\ecode
+\end{verbatim}
%
The module defines the following names: