mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -338,12 +338,12 @@ SHA1Type_copy_impl(SHA1object *self)
|
|||
/*[clinic input]
|
||||
SHA1Type.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 *
|
||||
SHA1Type_digest_impl(SHA1object *self)
|
||||
/*[clinic end generated code: output=2f05302a7aa2b5cb input=205d47e1927fd009]*/
|
||||
/*[clinic end generated code: output=2f05302a7aa2b5cb input=13824b35407444bd]*/
|
||||
{
|
||||
unsigned char digest[SHA1_DIGESTSIZE];
|
||||
struct sha1_state temp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue