diff options
author | Armin Rigo <arigo@tunes.org> | 2006-08-31 08:51:06 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2006-08-31 08:51:06 (GMT) |
commit | f580b104a48f93937f011f6ba50c3998136d549b (patch) | |
tree | b750cfbbac9f2721c766dedf1b0d39d9775cc565 /Doc | |
parent | f6fc4540841438757eaf6488fa3ca300f5e1361f (diff) | |
download | cpython-f580b104a48f93937f011f6ba50c3998136d549b.zip cpython-f580b104a48f93937f011f6ba50c3998136d549b.tar.gz cpython-f580b104a48f93937f011f6ba50c3998136d549b.tar.bz2 |
Doc fix: hashlib objects don't always return a digest of 16 bytes.
Backport candidate for 2.5.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libhashlib.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libhashlib.tex b/Doc/lib/libhashlib.tex index 62e3fc4..17f5179 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}{} |