summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.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/_collectionsmodule.c
parent00da4e0b5a31bf017958f01233b51201c0279eaf (diff)
downloadcpython-f038b32d0bac407e43331b3a3f47a1a8e1d7fcb2.zip
cpython-f038b32d0bac407e43331b3a3f47a1a8e1d7fcb2.tar.gz
cpython-f038b32d0bac407e43331b3a3f47a1a8e1d7fcb2.tar.bz2
Remove more unneeded casts to hashfunc.
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r--Modules/_collectionsmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 1146af5..2216fa6 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -1016,24 +1016,24 @@ 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 */
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
- /* tp_flags */
+ /* tp_flags */
deque_doc, /* tp_doc */
(traverseproc)deque_traverse, /* tp_traverse */
(inquiry)deque_clear, /* tp_clear */
(richcmpfunc)deque_richcompare, /* tp_richcompare */
- offsetof(dequeobject, weakreflist), /* tp_weaklistoffset*/
+ offsetof(dequeobject, weakreflist), /* tp_weaklistoffset*/
(getiterfunc)deque_iter, /* tp_iter */
0, /* tp_iternext */
deque_methods, /* tp_methods */
0, /* tp_members */
- deque_getset, /* tp_getset */
+ deque_getset, /* tp_getset */
0, /* tp_base */
0, /* tp_dict */
0, /* tp_descr_get */