summaryrefslogtreecommitdiff
path: root/Modules/md5module.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-08-15 18:31:48 +0200
committerChristian Heimes <christian@cheimes.de>2013-08-15 18:31:48 +0200
commit37d5cebb4816a96785a85db9dcfd8519f30df18b (patch)
treeba564ce5b55484586db9790b772f5512890bf900 /Modules/md5module.c
parentf0e521036caea5083e93cd5eca5500b9a1e945ad (diff)
downloadcpython-git-37d5cebb4816a96785a85db9dcfd8519f30df18b.tar.gz
Change the builtin hash algorithms' names to lower case names
as promised by hashlib's documentation.
Diffstat (limited to 'Modules/md5module.c')
-rw-r--r--Modules/md5module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c
index 7dc38eaeed..bb91b6c369 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -439,7 +439,7 @@ MD5_get_block_size(PyObject *self, void *closure)
static PyObject *
MD5_get_name(PyObject *self, void *closure)
{
- return PyUnicode_FromStringAndSize("MD5", 3);
+ return PyUnicode_FromStringAndSize("md5", 3);
}
static PyObject *