Commit fbda7446 authored by Georg Brandl's avatar Georg Brandl

Fix type of hash function.

parent 20535ce2
...@@ -2478,7 +2478,7 @@ static PyBufferProcs PyCData_as_buffer = { ...@@ -2478,7 +2478,7 @@ static PyBufferProcs PyCData_as_buffer = {
/* /*
* CData objects are mutable, so they cannot be hashable! * CData objects are mutable, so they cannot be hashable!
*/ */
static long static Py_hash_t
PyCData_nohash(PyObject *self) PyCData_nohash(PyObject *self)
{ {
PyErr_SetString(PyExc_TypeError, "unhashable type"); PyErr_SetString(PyExc_TypeError, "unhashable type");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment