Commit bc4a1c25 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

[Patch #476612] Change docs to describe PEP247 interface

parent 75fec2c8
......@@ -35,6 +35,16 @@ More condensed:
'\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9'
\end{verbatim}
The following values are provided as constants in the module and as
attributes of the md5 objects returned by \function{new()}:
\begin{datadesc}{digest_size}
The size of the resulting digest in bytes. This is always
\code{16}.
\end{datadesc}
md5 objects support the following methods:
\begin{funcdesc}{new}{\optional{arg}}
Return a new md5 object. If \var{arg} is present, the method call
\code{update(\var{arg})} is made.
......
......@@ -31,7 +31,7 @@ attributes of the sha objects returned by \function{new()}:
hashed.
\end{datadesc}
\begin{datadesc}{digestsize}
\begin{datadesc}{digest_size}
The size of the resulting digest in bytes. This is always
\code{20}.
\end{datadesc}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment