Skip to content

Commit 2fea60f

Browse files
committed
fixup: _PyDictViewObject
1 parent ad434c0 commit 2fea60f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Objects/dictobject.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6339,7 +6339,7 @@ dictviews_xor(PyObject* self, PyObject *other)
63396339

63406340
static PyNumberMethods dictviews_as_number = {
63416341
0, /*nb_add*/
6342-
(binaryfunc)dictviews_sub, /*nb_subtract*/
6342+
dictviews_sub, /*nb_subtract*/
63436343
0, /*nb_multiply*/
63446344
0, /*nb_remainder*/
63456345
0, /*nb_divmod*/
@@ -6351,9 +6351,9 @@ static PyNumberMethods dictviews_as_number = {
63516351
0, /*nb_invert*/
63526352
0, /*nb_lshift*/
63536353
0, /*nb_rshift*/
6354-
(binaryfunc)_PyDictView_Intersect, /*nb_and*/
6355-
(binaryfunc)dictviews_xor, /*nb_xor*/
6356-
(binaryfunc)dictviews_or, /*nb_or*/
6354+
_PyDictView_Intersect, /*nb_and*/
6355+
dictviews_xor, /*nb_xor*/
6356+
dictviews_or, /*nb_or*/
63576357
};
63586358

63596359
static PyObject*
@@ -6611,7 +6611,7 @@ static PySequenceMethods dictvalues_as_sequence = {
66116611
0, /* sq_slice */
66126612
0, /* sq_ass_item */
66136613
0, /* sq_ass_slice */
6614-
(objobjproc)0, /* sq_contains */
6614+
0, /* sq_contains */
66156615
};
66166616

66176617
static PyObject* dictvalues_reversed(PyObject *dv, PyObject *Py_UNUSED(ignored));

0 commit comments

Comments
 (0)