mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Renamed PyString to PyBytes
This commit is contained in:
parent
9c4756ea26
commit
72b710a596
78 changed files with 983 additions and 983 deletions
|
|
@ -363,7 +363,7 @@ MD5_digest(MD5object *self, PyObject *unused)
|
|||
|
||||
temp = self->hash_state;
|
||||
md5_done(&temp, digest);
|
||||
return PyString_FromStringAndSize((const char *)digest, MD5_DIGESTSIZE);
|
||||
return PyBytes_FromStringAndSize((const char *)digest, MD5_DIGESTSIZE);
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(MD5_hexdigest__doc__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue