File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2956,7 +2956,7 @@ static PyType_Slot Task_slots[] = {
29562956 {Py_tp_iter , future_new_iter },
29572957 {Py_tp_methods , TaskType_methods },
29582958 {Py_tp_getset , TaskType_getsetlist },
2959- {Py_tp_init , ( initproc ) _asyncio_Task___init__ },
2959+ {Py_tp_init , _asyncio_Task___init__ },
29602960 {Py_tp_new , PyType_GenericNew },
29612961 {Py_tp_finalize , TaskObj_finalize },
29622962
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ static PyTypeObject PyRecursingInfinitelyError_Type = {
538538 .tp_basicsize = sizeof (PyBaseExceptionObject ),
539539 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE ,
540540 .tp_doc = PyDoc_STR ("Instantiating this exception starts infinite recursion." ),
541- .tp_init = ( initproc ) recurse_infinitely_error_init ,
541+ .tp_init = recurse_infinitely_error_init ,
542542};
543543
544544static PyMethodDef test_methods [] = {
Original file line number Diff line number Diff line change @@ -2832,7 +2832,7 @@ PyTypeObject PyByteArray_Type = {
28322832 0 , /* tp_descr_get */
28332833 0 , /* tp_descr_set */
28342834 0 , /* tp_dictoffset */
2835- ( initproc ) bytearray___init__ , /* tp_init */
2835+ bytearray___init__ , /* tp_init */
28362836 PyType_GenericAlloc , /* tp_alloc */
28372837 PyType_GenericNew , /* tp_new */
28382838 PyObject_Free , /* tp_free */
Original file line number Diff line number Diff line change @@ -3873,7 +3873,7 @@ PyTypeObject PyList_Type = {
38733873 0 , /* tp_descr_get */
38743874 0 , /* tp_descr_set */
38753875 0 , /* tp_dictoffset */
3876- ( initproc ) list___init__ , /* tp_init */
3876+ list___init__ , /* tp_init */
38773877 PyType_GenericAlloc , /* tp_alloc */
38783878 PyType_GenericNew , /* tp_new */
38793879 PyObject_GC_Del , /* tp_free */
You can’t perform that action at this time.
0 commit comments