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

Remove more unneeded casts to hashfunc.

üst 00da4e0b
......@@ -1016,7 +1016,7 @@ static PyTypeObject deque_type = {
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 */
......
......@@ -3570,7 +3570,7 @@ static PyTypeObject PicklerMemoProxyType = {
0, /* tp_as_number */
0, /* 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 */
......@@ -5708,7 +5708,7 @@ static PyTypeObject UnpicklerMemoProxyType = {
0, /* tp_as_number */
0, /* 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 */
......
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