mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873)
This commit is contained in:
parent
dd13c88b53
commit
f192aeb95a
9 changed files with 17 additions and 17 deletions
|
|
@ -493,12 +493,12 @@ SHA512Type_copy_impl(SHAobject *self)
|
|||
/*[clinic input]
|
||||
SHA512Type.digest
|
||||
|
||||
Return the digest value as a string of binary data.
|
||||
Return the digest value as a bytes object.
|
||||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
SHA512Type_digest_impl(SHAobject *self)
|
||||
/*[clinic end generated code: output=1080bbeeef7dde1b input=60c2cede9e023018]*/
|
||||
/*[clinic end generated code: output=1080bbeeef7dde1b input=f6470dd359071f4b]*/
|
||||
{
|
||||
unsigned char digest[SHA_DIGESTSIZE];
|
||||
SHAobject temp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue