mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -428,12 +428,12 @@ SHA256Type_copy_impl(SHAobject *self)
|
|||
/*[clinic input]
|
||||
SHA256Type.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 *
|
||||
SHA256Type_digest_impl(SHAobject *self)
|
||||
/*[clinic end generated code: output=46616a5e909fbc3d input=1fb752e58954157d]*/
|
||||
/*[clinic end generated code: output=46616a5e909fbc3d input=f1f4cfea5cbde35c]*/
|
||||
{
|
||||
unsigned char digest[SHA_DIGESTSIZE];
|
||||
SHAobject temp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue