summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-18 07:35:09 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-18 07:35:09 (GMT)
commitf038b32d0bac407e43331b3a3f47a1a8e1d7fcb2 (patch)
treeb9b3f62992ada696e8a1a4dd101987533aeaf38f /Modules/_pickle.c
parent00da4e0b5a31bf017958f01233b51201c0279eaf (diff)
downloadcpython-f038b32d0bac407e43331b3a3f47a1a8e1d7fcb2.zip
cpython-f038b32d0bac407e43331b3a3f47a1a8e1d7fcb2.tar.gz
cpython-f038b32d0bac407e43331b3a3f47a1a8e1d7fcb2.tar.bz2
Remove more unneeded casts to hashfunc.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index b810301..e2d6406 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -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 */