diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-19 16:20:56 -0700 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-10-20 01:20:56 +0200 |
commit | 23efe77acf0dce513d7b7cab5523c061bb006b60 (patch) | |
tree | 95daf0fde5a62d0e4e7c6b008a30f1803acdf606 /Modules/md5module.c | |
parent | 4ec9f64e07c8f397ad6699f8b99843846c219588 (diff) | |
download | cpython-git-23efe77acf0dce513d7b7cab5523c061bb006b60.tar.gz |
bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971)
(cherry picked from commit f192aeb95a139ede74d69e39c046c498ff288a37)
Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <srinivasreddy@users.noreply.github.com>
Diffstat (limited to 'Modules/md5module.c')
-rw-r--r-- | Modules/md5module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c index c66b27308f..d377f0bb46 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c @@ -361,12 +361,12 @@ MD5Type_copy_impl(MD5object *self) /*[clinic input] MD5Type.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 * MD5Type_digest_impl(MD5object *self) -/*[clinic end generated code: output=eb691dc4190a07ec input=7b96e65389412a34]*/ +/*[clinic end generated code: output=eb691dc4190a07ec input=bc0c4397c2994be6]*/ { unsigned char digest[MD5_DIGESTSIZE]; struct md5_state temp; |