summaryrefslogtreecommitdiff
path: root/Objects/call.c
diff options
context:
space:
mode:
authorSylvain <sylvain.desodt+github@gmail.com>2017-03-27 23:36:08 +0200
committerVictor Stinner <victor.stinner@gmail.com>2017-03-27 23:36:08 +0200
commitd67a103702cf57de90a62c90f7ae969c23d96218 (patch)
treec2c82cdcb42e0bb1c443085550a4e2fa3e853ea9 /Objects/call.c
parentd702c50049207d825c1d5925fbc7306514fa9a0a (diff)
downloadcpython-git-d67a103702cf57de90a62c90f7ae969c23d96218.tar.gz
bpo-29924: Remove useless argument (#854)
Diffstat (limited to 'Objects/call.c')
-rw-r--r--Objects/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/call.c b/Objects/call.c
index 7890c138d6..4c74eab44f 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -550,7 +550,7 @@ _PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self, PyObject **arg
no_keyword_error:
PyErr_Format(PyExc_TypeError,
"%.200s() takes no keyword arguments",
- method->ml_name, nargs);
+ method->ml_name);
exit:
Py_LeaveRecursiveCall();