summaryrefslogtreecommitdiff
path: root/Doc/lib/liboperator.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-17 16:34:52 +0000
committerGuido van Rossum <guido@python.org>1997-07-17 16:34:52 +0000
commite47da0ae04814fab2a0aa6e637de2e4269978017 (patch)
tree1360ad7010b92c02d287e79accc1415c77bedc3e /Doc/lib/liboperator.tex
parent3c2a056fdd3af1f3b94f134b0cab2bd8050c9703 (diff)
downloadcpython-git-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.gz
AMK's megapatch:
* \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files
Diffstat (limited to 'Doc/lib/liboperator.tex')
-rw-r--r--Doc/lib/liboperator.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex
index 7fed767c14..d7c11fc84d 100644
--- a/Doc/lib/liboperator.tex
+++ b/Doc/lib/liboperator.tex
@@ -184,10 +184,10 @@ Delete the slice of a from index b to index c-1.
Example: Build a dictionary that maps the ordinals from 0 to 256 to their
character equivalents.
-\begin{verbatim}
+\bcode\begin{verbatim}
>>> import operator
>>> d = {}
>>> keys = range(256)
>>> vals = map(chr, keys)
>>> map(operator.setitem, [d]*len(keys), keys, vals)
-\end{verbatim}
+\end{verbatim}\ecode