bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873)

This commit is contained in:
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) 2018-10-19 23:12:53 +05:30 committed by Serhiy Storchaka
parent dd13c88b53
commit f192aeb95a
9 changed files with 17 additions and 17 deletions

View file

@ -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;