[Python-checkins] CVS: python/dist/src/Doc/lib libmd5.tex,1.20,1.21 libsha.tex,1.9,1.10
A.M. Kuchling
akuchling@users.sourceforge.net
Fri, 02 Nov 2001 13:44:11 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv16151
Modified Files:
libmd5.tex libsha.tex
Log Message:
[Patch #476612] Change docs to describe PEP247 interface
Index: libmd5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmd5.tex,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** libmd5.tex 2001/07/06 19:28:48 1.20
--- libmd5.tex 2001/11/02 21:44:09 1.21
***************
*** 36,39 ****
--- 36,49 ----
\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
Index: libsha.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsha.tex,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** libsha.tex 2001/09/06 18:59:43 1.9
--- libsha.tex 2001/11/02 21:44:09 1.10
***************
*** 32,36 ****
\end{datadesc}
! \begin{datadesc}{digestsize}
The size of the resulting digest in bytes. This is always
\code{20}.
--- 32,36 ----
\end{datadesc}
! \begin{datadesc}{digest_size}
The size of the resulting digest in bytes. This is always
\code{20}.