]> granicus.if.org Git - python/commitdiff
Backport 51663:
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 3 Sep 2006 00:04:26 +0000 (00:04 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 3 Sep 2006 00:04:26 +0000 (00:04 +0000)
  Doc fix: hashlib objects don't always return a digest of 16 bytes.

Doc/lib/libhashlib.tex

index 62e3fc4829ffcd0a64a787a8cb95ff99b0088296..17f5179309f9312f8e07bb15fd997f7ac115a966 100644 (file)
@@ -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}{}