@@ -10807,7 +10807,8 @@ static pytype_slotdef slotdefs[] = {
1080710807 "__repr__($self, /)\n--\n\nReturn repr(self)." ),
1080810808 TPSLOT (__hash__ , tp_hash , slot_tp_hash , wrap_hashfunc ,
1080910809 "__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 ),
1081110812 "__call__($self, /, *args, **kwargs)\n--\n\nCall self as a function." ,
1081210813 PyWrapperFlag_KEYWORDS ),
1081310814 TPSLOT (__str__ , tp_str , slot_tp_str , wrap_unaryfunc ,
@@ -10844,7 +10845,8 @@ static pytype_slotdef slotdefs[] = {
1084410845 TPSLOT (__delete__ , tp_descr_set , slot_tp_descr_set ,
1084510846 wrap_descr_delete ,
1084610847 "__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 ),
1084810850 "__init__($self, /, *args, **kwargs)\n--\n\n"
1084910851 "Initialize self. See help(type(self)) for accurate signature." ,
1085010852 PyWrapperFlag_KEYWORDS ),
0 commit comments