diff options
author | Georg Brandl <georg@python.org> | 2010-10-18 07:32:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-18 07:32:48 (GMT) |
commit | 00da4e0b5a31bf017958f01233b51201c0279eaf (patch) | |
tree | 20a7b275f217e924af982b344e2b7550b0350394 /Objects/dictobject.c | |
parent | d49bf5e8a5b167c38ec3e1df66492198e3f2e8f9 (diff) | |
download | cpython-00da4e0b5a31bf017958f01233b51201c0279eaf.zip cpython-00da4e0b5a31bf017958f01233b51201c0279eaf.tar.gz cpython-00da4e0b5a31bf017958f01233b51201c0279eaf.tar.bz2 |
Remove unneeded casts to hashfunc.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index f676aa0..c6ca40c 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 */ |