parent
52f29591bc
commit
35ecebe165
|
@ -193,8 +193,7 @@ PyAPI_FUNC(int) _PyStack_UnpackDict(
|
|||
Py_ssize_t nargs,
|
||||
PyObject *kwargs,
|
||||
PyObject ***p_stack,
|
||||
PyObject **p_kwnames,
|
||||
PyObject *func);
|
||||
PyObject **p_kwnames);
|
||||
|
||||
/* Suggested size (number of positional arguments) for arrays of PyObject*
|
||||
allocated on a C stack to avoid allocating memory on the heap memory. Such
|
||||
|
|
|
@ -2423,7 +2423,7 @@ _PyStack_AsDict(PyObject **values, PyObject *kwnames)
|
|||
|
||||
int
|
||||
_PyStack_UnpackDict(PyObject **args, Py_ssize_t nargs, PyObject *kwargs,
|
||||
PyObject ***p_stack, PyObject **p_kwnames, PyObject *func)
|
||||
PyObject ***p_stack, PyObject **p_kwnames)
|
||||
{
|
||||
PyObject **stack, **kwstack;
|
||||
Py_ssize_t nkwargs;
|
||||
|
|
|
@ -240,8 +240,7 @@ _PyCFunction_FastCallDict(PyObject *func_obj, PyObject **args, Py_ssize_t nargs,
|
|||
PyObject *kwnames;
|
||||
_PyCFunctionFast fastmeth = (_PyCFunctionFast)meth;
|
||||
|
||||
if (_PyStack_UnpackDict(args, nargs, kwargs,
|
||||
&stack, &kwnames, func_obj) < 0) {
|
||||
if (_PyStack_UnpackDict(args, nargs, kwargs, &stack, &kwnames) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue