mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Renamed PyString to PyBytes
This commit is contained in:
parent
9c4756ea26
commit
72b710a596
78 changed files with 983 additions and 983 deletions
|
|
@ -498,7 +498,7 @@ SHA512_digest(SHAobject *self, PyObject *unused)
|
|||
|
||||
SHAcopy(self, &temp);
|
||||
sha512_final(digest, &temp);
|
||||
return PyString_FromStringAndSize((const char *)digest, self->digestsize);
|
||||
return PyBytes_FromStringAndSize((const char *)digest, self->digestsize);
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(SHA512_hexdigest__doc__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue