@@ -10758,7 +10758,8 @@ static pytype_slotdef slotdefs[] = {
1075810758 "__repr__($self, /)\n--\n\nReturn repr(self)." ),
1075910759 TPSLOT (__hash__ , tp_hash , slot_tp_hash , wrap_hashfunc ,
1076010760 "__hash__($self, /)\n--\n\nReturn hash(self)." ),
10761- FLSLOT (__call__ , tp_call , slot_tp_call , (wrapperfunc )(void (* )(void ))wrap_call ,
10761+ FLSLOT (__call__ , tp_call , slot_tp_call ,
10762+ _Py_FUNC_CAST (wrapperfunc , wrap_call ),
1076210763 "__call__($self, /, *args, **kwargs)\n--\n\nCall self as a function." ,
1076310764 PyWrapperFlag_KEYWORDS ),
1076410765 TPSLOT (__str__ , tp_str , slot_tp_str , wrap_unaryfunc ,
@@ -10795,7 +10796,8 @@ static pytype_slotdef slotdefs[] = {
1079510796 TPSLOT (__delete__ , tp_descr_set , slot_tp_descr_set ,
1079610797 wrap_descr_delete ,
1079710798 "__delete__($self, instance, /)\n--\n\nDelete an attribute of instance." ),
10798- FLSLOT (__init__ , tp_init , slot_tp_init , (wrapperfunc )(void (* )(void ))wrap_init ,
10799+ FLSLOT (__init__ , tp_init , slot_tp_init ,
10800+ _Py_FUNC_CAST (wrapperfunc , wrap_call ),
1079910801 "__init__($self, /, *args, **kwargs)\n--\n\n"
1080010802 "Initialize self. See help(type(self)) for accurate signature." ,
1080110803 PyWrapperFlag_KEYWORDS ),
0 commit comments