Kaydet (Commit) d49bf5e8 authored tarafından Georg Brandl's avatar Georg Brandl

Fix type of hash function.

üst 646fdd6c
......@@ -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");
......
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