Fix type of hash function.
This commit is contained in:
parent
646fdd6c61
commit
d49bf5e8a5
|
@ -2478,7 +2478,7 @@ static PyBufferProcs PyCData_as_buffer = {
|
|||
/*
|
||||
* CData objects are mutable, so they cannot be hashable!
|
||||
*/
|
||||
static long
|
||||
static Py_hash_t
|
||||
PyCData_nohash(PyObject *self)
|
||||
{
|
||||
PyErr_SetString(PyExc_TypeError, "unhashable type");
|
||||
|
|
Loading…
Reference in New Issue