mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix hash function type.
This commit is contained in:
parent
2a94f4c0ef
commit
016cec75bd
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ static PyObject* pysqlite_iter(pysqlite_Row* self)
|
|||
return PyObject_GetIter(self->data);
|
||||
}
|
||||
|
||||
static long pysqlite_row_hash(pysqlite_Row *self)
|
||||
static Py_hash_t pysqlite_row_hash(pysqlite_Row *self)
|
||||
{
|
||||
return PyObject_Hash(self->description) ^ PyObject_Hash(self->data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue