Fix type of hash function.

This commit is contained in:
Georg Brandl 2010-10-18 07:30:06 +00:00
parent 646fdd6c61
commit d49bf5e8a5
1 changed files with 1 additions and 1 deletions

View File

@ -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");