commit | 72b710a59617ebe6dd1c41613d2c7eb81702efd9 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Mon May 26 13:28:38 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Mon May 26 13:28:38 2008 +0000 |
tree | cd134cc11c49ba09f50e44a9f36b69f2b0ffc893 | |
parent | 9c4756ea265b5ebd71c9ae59f3673c7cecb6f060 [diff] [blame] |
Renamed PyString to PyBytes
diff --git a/Modules/sha1module.c b/Modules/sha1module.c index 9b4d8e5..1d5f070 100644 --- a/Modules/sha1module.c +++ b/Modules/sha1module.c
@@ -339,7 +339,7 @@ temp = self->hash_state; sha1_done(&temp, digest); - return PyString_FromStringAndSize((const char *)digest, SHA1_DIGESTSIZE); + return PyBytes_FromStringAndSize((const char *)digest, SHA1_DIGESTSIZE); } PyDoc_STRVAR(SHA1_hexdigest__doc__,