mirror of https://github.com/python/cpython
Doc fix: hashlib objects don't always return a digest of 16 bytes.
Backport candidate for 2.5.
This commit is contained in:
parent
f6fc454084
commit
f580b104a4
|
@ -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}{}
|
||||
|
|
Loading…
Reference in New Issue