diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 (GMT) |
commit | e47da0ae04814fab2a0aa6e637de2e4269978017 (patch) | |
tree | 1360ad7010b92c02d287e79accc1415c77bedc3e /Doc/lib/liboperator.tex | |
parent | 3c2a056fdd3af1f3b94f134b0cab2bd8050c9703 (diff) | |
download | cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.zip cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.gz cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.bz2 |
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.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex index 7fed767..d7c11fc 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 |