diff options
author | Christian Heimes <christian@cheimes.de> | 2013-08-15 16:31:48 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-08-15 16:31:48 (GMT) |
commit | 37d5cebb4816a96785a85db9dcfd8519f30df18b (patch) | |
tree | ba564ce5b55484586db9790b772f5512890bf900 /Modules/sha1module.c | |
parent | f0e521036caea5083e93cd5eca5500b9a1e945ad (diff) | |
download | cpython-37d5cebb4816a96785a85db9dcfd8519f30df18b.zip cpython-37d5cebb4816a96785a85db9dcfd8519f30df18b.tar.gz cpython-37d5cebb4816a96785a85db9dcfd8519f30df18b.tar.bz2 |
Change the builtin hash algorithms' names to lower case names
as promised by hashlib's documentation.
Diffstat (limited to 'Modules/sha1module.c')
-rw-r--r-- | Modules/sha1module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/sha1module.c b/Modules/sha1module.c index e7c7ea6..403194c 100644 --- a/Modules/sha1module.c +++ b/Modules/sha1module.c @@ -411,7 +411,7 @@ SHA1_get_block_size(PyObject *self, void *closure) static PyObject * SHA1_get_name(PyObject *self, void *closure) { - return PyUnicode_FromStringAndSize("SHA1", 4); + return PyUnicode_FromStringAndSize("sha1", 4); } static PyObject * |