diff -r 1f3242fb0c9c Modules/md5module.c --- a/Modules/md5module.c Thu Jan 09 19:03:32 2014 -0500 +++ b/Modules/md5module.c Fri Jan 10 11:20:57 2014 +0800 @@ -352,7 +352,7 @@ } PyDoc_STRVAR(MD5_digest__doc__, -"Return the digest value as a string of binary data."); +"Return the digest value as a bytes of binary data."); static PyObject * MD5_digest(MD5object *self, PyObject *unused) @@ -402,7 +402,7 @@ } PyDoc_STRVAR(MD5_update__doc__, -"Update this hash object's state with the provided string."); +"Update this hash object's state with the provided bytes-like object."); static PyObject * MD5_update(MD5object *self, PyObject *args) @@ -503,7 +503,8 @@ /* The single module-level function: new() */ PyDoc_STRVAR(MD5_new__doc__, -"Return a new MD5 hash object; optionally initialized with a string."); +"Return a new MD5 hash object; optionally initialized with a bytes-like " +"object."); static PyObject * MD5_new(PyObject *self, PyObject *args, PyObject *kwdict) diff -r 1f3242fb0c9c Modules/sha1module.c --- a/Modules/sha1module.c Thu Jan 09 19:03:32 2014 -0500 +++ b/Modules/sha1module.c Fri Jan 10 11:20:57 2014 +0800 @@ -324,7 +324,7 @@ } PyDoc_STRVAR(SHA1_digest__doc__, -"Return the digest value as a string of binary data."); +"Return the digest value as a bytes of binary data."); static PyObject * SHA1_digest(SHA1object *self, PyObject *unused) @@ -374,7 +374,7 @@ } PyDoc_STRVAR(SHA1_update__doc__, -"Update this hash object's state with the provided string."); +"Update this hash object's state with the provided bytes-like object."); static PyObject * SHA1_update(SHA1object *self, PyObject *args) @@ -475,7 +475,8 @@ /* The single module-level function: new() */ PyDoc_STRVAR(SHA1_new__doc__, -"Return a new SHA1 hash object; optionally initialized with a string."); +"Return a new SHA1 hash object; optionally initialized with a bytes-like " +"object."); static PyObject * SHA1_new(PyObject *self, PyObject *args, PyObject *kwdict) diff -r 1f3242fb0c9c Modules/sha256module.c --- a/Modules/sha256module.c Thu Jan 09 19:03:32 2014 -0500 +++ b/Modules/sha256module.c Fri Jan 10 11:20:57 2014 +0800 @@ -413,7 +413,7 @@ } PyDoc_STRVAR(SHA256_digest__doc__, -"Return the digest value as a string of binary data."); +"Return the digest value as a bytes of binary data."); static PyObject * SHA256_digest(SHAobject *self, PyObject *unused) @@ -463,7 +463,7 @@ } PyDoc_STRVAR(SHA256_update__doc__, -"Update this hash object's state with the provided string."); +"Update this hash object's state with the provided bytes-like object."); static PyObject * SHA256_update(SHAobject *self, PyObject *args) @@ -595,7 +595,8 @@ /* The single module-level function: new() */ PyDoc_STRVAR(SHA256_new__doc__, -"Return a new SHA-256 hash object; optionally initialized with a string."); +"Return a new SHA-256 hash object; optionally initialized with a bytes-like " +"object."); static PyObject * SHA256_new(PyObject *self, PyObject *args, PyObject *kwdict) @@ -636,7 +637,8 @@ } PyDoc_STRVAR(SHA224_new__doc__, -"Return a new SHA-224 hash object; optionally initialized with a string."); +"Return a new SHA-224 hash object; optionally initialized with a bytes-like " +"object."); static PyObject * SHA224_new(PyObject *self, PyObject *args, PyObject *kwdict) diff -r 1f3242fb0c9c Modules/sha512module.c --- a/Modules/sha512module.c Thu Jan 09 19:03:32 2014 -0500 +++ b/Modules/sha512module.c Fri Jan 10 11:20:57 2014 +0800 @@ -479,7 +479,7 @@ } PyDoc_STRVAR(SHA512_digest__doc__, -"Return the digest value as a string of binary data."); +"Return the digest value as a bytes of binary data."); static PyObject * SHA512_digest(SHAobject *self, PyObject *unused) @@ -529,7 +529,7 @@ } PyDoc_STRVAR(SHA512_update__doc__, -"Update this hash object's state with the provided string."); +"Update this hash object's state with the provided bytes-like object."); static PyObject * SHA512_update(SHAobject *self, PyObject *args) @@ -661,7 +661,8 @@ /* The single module-level function: new() */ PyDoc_STRVAR(SHA512_new__doc__, -"Return a new SHA-512 hash object; optionally initialized with a string."); +"Return a new SHA-512 hash object; optionally initialized with a bytes-like " +"object."); static PyObject * SHA512_new(PyObject *self, PyObject *args, PyObject *kwdict) @@ -702,7 +703,8 @@ } PyDoc_STRVAR(SHA384_new__doc__, -"Return a new SHA-384 hash object; optionally initialized with a string."); +"Return a new SHA-384 hash object; optionally initialized with a bytes-like " +"object."); static PyObject * SHA384_new(PyObject *self, PyObject *args, PyObject *kwdict)