diff options
author | Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <srinivasreddy@users.noreply.github.com> | 2018-10-19 17:42:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-19 17:42:53 (GMT) |
commit | f192aeb95a139ede74d69e39c046c498ff288a37 (patch) | |
tree | 7f576552c7cbf0e53c07eb260911ff19b936967f /Modules/sha1module.c | |
parent | dd13c88b5371e13fc16b84e2f9b8715d917de269 (diff) | |
download | cpython-f192aeb95a139ede74d69e39c046c498ff288a37.zip cpython-f192aeb95a139ede74d69e39c046c498ff288a37.tar.gz cpython-f192aeb95a139ede74d69e39c046c498ff288a37.tar.bz2 |
bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873)
Diffstat (limited to 'Modules/sha1module.c')
-rw-r--r-- | Modules/sha1module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/sha1module.c b/Modules/sha1module.c index 358cd1e..998ebd4 100644 --- a/Modules/sha1module.c +++ b/Modules/sha1module.c @@ -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; |