File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ typedef struct {
147147static void partial_setvectorcall (partialobject * pto );
148148static struct PyModuleDef _functools_module ;
149149static PyObject *
150- partial_call (partialobject * pto , PyObject * args , PyObject * kwargs );
150+ partial_call (PyObject * pto , PyObject * args , PyObject * kwargs );
151151
152152static inline _functools_state *
153153get_functools_state_by_type (PyTypeObject * type )
@@ -477,8 +477,9 @@ partial_setvectorcall(partialobject *pto)
477477
478478// Not converted to argument clinic, because of `*args, **kwargs` arguments.
479479static PyObject *
480- partial_call (partialobject * pto , PyObject * args , PyObject * kwargs )
480+ partial_call (PyObject * self , PyObject * args , PyObject * kwargs )
481481{
482+ partialobject * pto = (partialobject * )self ;
482483 assert (PyCallable_Check (pto -> fn ));
483484 assert (PyTuple_Check (pto -> args ));
484485 assert (PyDict_Check (pto -> kw ));
You can’t perform that action at this time.
0 commit comments