Index: Objects/dictobject.c =================================================================== --- Objects/dictobject.c (revision 67856) +++ Objects/dictobject.c (working copy) @@ -2037,7 +2037,7 @@ 0, /* tp_as_number */ &dict_as_sequence, /* tp_as_sequence */ &dict_as_mapping, /* tp_as_mapping */ - (hashfunc)PyObject_HashNotImplemented, /* tp_hash */ + PyObject_HashNotImplemented, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ PyObject_GenericGetAttr, /* tp_getattro */ Index: Objects/listobject.c =================================================================== --- Objects/listobject.c (revision 67856) +++ Objects/listobject.c (working copy) @@ -2570,7 +2570,7 @@ 0, /* tp_as_number */ &list_as_sequence, /* tp_as_sequence */ &list_as_mapping, /* tp_as_mapping */ - (hashfunc)PyObject_HashNotImplemented, /* tp_hash */ + PyObject_HashNotImplemented, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ PyObject_GenericGetAttr, /* tp_getattro */ Index: Objects/setobject.c =================================================================== --- Objects/setobject.c (revision 67856) +++ Objects/setobject.c (working copy) @@ -2108,7 +2108,7 @@ &set_as_number, /* tp_as_number */ &set_as_sequence, /* tp_as_sequence */ 0, /* tp_as_mapping */ - (hashfunc)PyObject_HashNotImplemented, /* tp_hash */ + PyObject_HashNotImplemented, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ PyObject_GenericGetAttr, /* tp_getattro */ Index: Modules/_collectionsmodule.c =================================================================== --- Modules/_collectionsmodule.c (revision 67856) +++ Modules/_collectionsmodule.c (working copy) @@ -853,7 +853,7 @@ 0, /* tp_as_number */ &deque_as_sequence, /* tp_as_sequence */ 0, /* tp_as_mapping */ - (hashfunc)PyObject_HashNotImplemented, /* tp_hash */ + PyObject_HashNotImplemented, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ PyObject_GenericGetAttr, /* tp_getattro */