summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-18 07:32:48 +0000
committerGeorg Brandl <georg@python.org>2010-10-18 07:32:48 +0000
commit462f09995c13bd0563fa833d75d43ad2a567506d (patch)
tree1794988fe8eccfa7c3a031bf20c2933dd41b6eb5 /Objects/dictobject.c
parentfbda74469ecf80aa3898b8fac14d30e3d2592d15 (diff)
downloadcpython-462f09995c13bd0563fa833d75d43ad2a567506d.tar.gz
Remove unneeded casts to hashfunc.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index f676aa0dd9..c6ca40cdfe 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2143,7 +2143,7 @@ PyTypeObject PyDict_Type = {
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 */