@@ -10807,7 +10807,8 @@ static pytype_slotdef slotdefs[] = {
10807
10807
"__repr__($self, /)\n--\n\nReturn repr(self)." ),
10808
10808
TPSLOT (__hash__ , tp_hash , slot_tp_hash , wrap_hashfunc ,
10809
10809
"__hash__($self, /)\n--\n\nReturn hash(self)." ),
10810
- FLSLOT (__call__ , tp_call , slot_tp_call , (wrapperfunc )(void (* )(void ))wrap_call ,
10810
+ FLSLOT (__call__ , tp_call , slot_tp_call ,
10811
+ _Py_FUNC_CAST (wrapperfunc , wrap_call ),
10811
10812
"__call__($self, /, *args, **kwargs)\n--\n\nCall self as a function." ,
10812
10813
PyWrapperFlag_KEYWORDS ),
10813
10814
TPSLOT (__str__ , tp_str , slot_tp_str , wrap_unaryfunc ,
@@ -10844,7 +10845,8 @@ static pytype_slotdef slotdefs[] = {
10844
10845
TPSLOT (__delete__ , tp_descr_set , slot_tp_descr_set ,
10845
10846
wrap_descr_delete ,
10846
10847
"__delete__($self, instance, /)\n--\n\nDelete an attribute of instance." ),
10847
- FLSLOT (__init__ , tp_init , slot_tp_init , (wrapperfunc )(void (* )(void ))wrap_init ,
10848
+ FLSLOT (__init__ , tp_init , slot_tp_init ,
10849
+ _Py_FUNC_CAST (wrapperfunc , wrap_init ),
10848
10850
"__init__($self, /, *args, **kwargs)\n--\n\n"
10849
10851
"Initialize self. See help(type(self)) for accurate signature." ,
10850
10852
PyWrapperFlag_KEYWORDS ),
0 commit comments