Remove unused func parameter of _PyStack_UnpackDict()

Issue #29259.
This commit is contained in:
Victor Stinner 2017-01-18 10:31:46 +01:00
parent 52f29591bc
commit 35ecebe165
3 changed files with 3 additions and 5 deletions

View file

@ -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;
}