File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ typedef struct {
147
147
static void partial_setvectorcall (partialobject * pto );
148
148
static struct PyModuleDef _functools_module ;
149
149
static PyObject *
150
- partial_call (partialobject * pto , PyObject * args , PyObject * kwargs );
150
+ partial_call (PyObject * pto , PyObject * args , PyObject * kwargs );
151
151
152
152
static inline _functools_state *
153
153
get_functools_state_by_type (PyTypeObject * type )
@@ -476,8 +476,9 @@ partial_setvectorcall(partialobject *pto)
476
476
477
477
// Not converted to argument clinic, because of `*args, **kwargs` arguments.
478
478
static PyObject *
479
- partial_call (partialobject * pto , PyObject * args , PyObject * kwargs )
479
+ partial_call (PyObject * self , PyObject * args , PyObject * kwargs )
480
480
{
481
+ partialobject * pto = (partialobject * )self ;
481
482
assert (PyCallable_Check (pto -> fn ));
482
483
assert (PyTuple_Check (pto -> args ));
483
484
assert (PyDict_Check (pto -> kw ));
You can’t perform that action at this time.
0 commit comments