Skip to content

Commit d67a103

Browse files
SylvainDevstinner
authored andcommitted
bpo-29924: Remove useless argument (#854)
1 parent d702c50 commit d67a103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ _PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self, PyObject **arg
550550
no_keyword_error:
551551
PyErr_Format(PyExc_TypeError,
552552
"%.200s() takes no keyword arguments",
553-
method->ml_name, nargs);
553+
method->ml_name);
554554

555555
exit:
556556
Py_LeaveRecursiveCall();

0 commit comments

Comments
 (0)