summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain <sylvain.desodt+github@gmail.com>2017-03-27 21:36:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-03-27 21:36:08 (GMT)
commitd67a103702cf57de90a62c90f7ae969c23d96218 (patch)
treec2c82cdcb42e0bb1c443085550a4e2fa3e853ea9
parentd702c50049207d825c1d5925fbc7306514fa9a0a (diff)
downloadcpython-d67a103702cf57de90a62c90f7ae969c23d96218.zip
cpython-d67a103702cf57de90a62c90f7ae969c23d96218.tar.gz
cpython-d67a103702cf57de90a62c90f7ae969c23d96218.tar.bz2
bpo-29924: Remove useless argument (#854)
-rw-r--r--Objects/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/call.c b/Objects/call.c
index 7890c13..4c74eab 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();