summaryrefslogtreecommitdiffstats
path: root/Modules/md5module.c
diff options
context:
space:
mode:
authorSrinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <srinivasreddy@users.noreply.github.com>2018-10-19 17:42:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-10-19 17:42:53 (GMT)
commitf192aeb95a139ede74d69e39c046c498ff288a37 (patch)
tree7f576552c7cbf0e53c07eb260911ff19b936967f /Modules/md5module.c
parentdd13c88b5371e13fc16b84e2f9b8715d917de269 (diff)
downloadcpython-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/md5module.c')
-rw-r--r--Modules/md5module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c
index c66b273..d377f0b 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;