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