File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
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 )
@@ -476,8 +476,9 @@ partial_setvectorcall(partialobject *pto)
476476
477477// Not converted to argument clinic, because of `*args, **kwargs` arguments.
478478static PyObject *
479- partial_call (partialobject * pto , PyObject * args , PyObject * kwargs )
479+ partial_call (PyObject * self , PyObject * args , PyObject * kwargs )
480480{
481+ partialobject * pto = (partialobject * )self ;
481482 assert (PyCallable_Check (pto -> fn ));
482483 assert (PyTuple_Check (pto -> args ));
483484 assert (PyDict_Check (pto -> kw ));
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ function:Objects/abstract.c
6565
6666function:Objects/call.c
6767# lru_cache_call
68- # partial_call
6968
7069function:Objects/descrobject.c
7170# bytes_decode
You can’t perform that action at this time.
0 commit comments