summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-18 07:32:48 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-18 07:32:48 (GMT)
commit00da4e0b5a31bf017958f01233b51201c0279eaf (patch)
tree20a7b275f217e924af982b344e2b7550b0350394 /Objects/setobject.c
parentd49bf5e8a5b167c38ec3e1df66492198e3f2e8f9 (diff)
downloadcpython-00da4e0b5a31bf017958f01233b51201c0279eaf.zip
cpython-00da4e0b5a31bf017958f01233b51201c0279eaf.tar.gz
cpython-00da4e0b5a31bf017958f01233b51201c0279eaf.tar.bz2
Remove unneeded casts to hashfunc.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 54b14da..8d4bcf3 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -2114,7 +2114,7 @@ PyTypeObject PySet_Type = {
&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 */
@@ -2126,8 +2126,8 @@ PyTypeObject PySet_Type = {
(traverseproc)set_traverse, /* tp_traverse */
(inquiry)set_clear_internal, /* tp_clear */
(richcmpfunc)set_richcompare, /* tp_richcompare */
- offsetof(PySetObject, weakreflist), /* tp_weaklistoffset */
- (getiterfunc)set_iter, /* tp_iter */
+ offsetof(PySetObject, weakreflist), /* tp_weaklistoffset */
+ (getiterfunc)set_iter, /* tp_iter */
0, /* tp_iternext */
set_methods, /* tp_methods */
0, /* tp_members */