summaryrefslogtreecommitdiffstats
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-18 09:31:46 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-01-18 09:31:46 (GMT)
commit35ecebe165b1f64cb94c1b947db1d0b07e6db69b (patch)
treeada7e05fe7e0128ffce4fccf5c8a66cd6f1c41e1 /Objects/methodobject.c
parent52f29591bcc642edf1b588f86a82d2558effb38b (diff)
downloadcpython-35ecebe165b1f64cb94c1b947db1d0b07e6db69b.zip
cpython-35ecebe165b1f64cb94c1b947db1d0b07e6db69b.tar.gz
cpython-35ecebe165b1f64cb94c1b947db1d0b07e6db69b.tar.bz2
Remove unused func parameter of _PyStack_UnpackDict()
Issue #29259.
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r--Objects/methodobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 7bff6a0..1d55a0c 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -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;
}