summaryrefslogtreecommitdiffstats
path: root/Doc/libmd5.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/libmd5.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/libmd5.tex')
-rw-r--r--Doc/libmd5.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/libmd5.tex b/Doc/libmd5.tex
index bbf7172..946d00d 100644
--- a/Doc/libmd5.tex
+++ b/Doc/libmd5.tex
@@ -14,23 +14,23 @@ so far using the \code{digest()} method.
For example, to obtain the digest of the string {\tt"Nobody inspects
the spammish repetition"}:
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> import md5
>>> m = md5.new()
>>> m.update("Nobody inspects")
>>> m.update(" the spammish repetition")
>>> m.digest()
'\273d\234\203\335\036\245\311\331\336\311\241\215\360\377\351'
-\end{verbatim}\ecode
+\end{verbatim}
%
More condensed:
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> md5.new("Nobody inspects the spammish repetition").digest()
'\273d\234\203\335\036\245\311\331\336\311\241\215\360\377\351'
-\end{verbatim}\ecode
+\end{verbatim}
%
-\renewcommand{\indexsubitem}{(in module md5)}
+\setindexsubitem{(in module md5)}
\begin{funcdesc}{new}{\optional{arg}}
Return a new md5 object. If \var{arg} is present, the method call
@@ -44,7 +44,7 @@ For backward compatibility reasons, this is an alternative name for the
An md5 object has the following methods:
-\renewcommand{\indexsubitem}{(md5 method)}
+\setindexsubitem{(md5 method)}
\begin{funcdesc}{update}{arg}
Update the md5 object with the string \var{arg}. Repeated calls are
equivalent to a single call with the concatenation of all the