From: Neal Norwitz Date: Sun, 3 Sep 2006 00:04:26 +0000 (+0000) Subject: Backport 51663: X-Git-Tag: v2.5c2~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f07b590d7e459062f78f9735f7330c0046b61c14;p=thirdparty%2FPython%2Fcpython.git Backport 51663: Doc fix: hashlib objects don't always return a digest of 16 bytes. --- diff --git a/Doc/lib/libhashlib.tex b/Doc/lib/libhashlib.tex index 62e3fc4829ff..17f5179309f9 100644 --- a/Doc/lib/libhashlib.tex +++ b/Doc/lib/libhashlib.tex @@ -86,8 +86,8 @@ arguments: \code{m.update(a); m.update(b)} is equivalent to \begin{methoddesc}[hash]{digest}{} Return the digest of the strings passed to the \method{update()} -method so far. This is a 16-byte string which may contain -non-\ASCII{} characters, including null bytes. +method so far. This is a string of \member{digest_size} bytes which may +contain non-\ASCII{} characters, including null bytes. \end{methoddesc} \begin{methoddesc}[hash]{hexdigest}{}