Change the last PyErr_Format %s format to %.400s.
This commit is contained in:
parent
55e93964e6
commit
ba98a42a0f
|
@ -2386,7 +2386,7 @@ call_builtin(func, arg, kw)
|
|||
Py_DECREF(call);
|
||||
return res;
|
||||
}
|
||||
PyErr_Format(PyExc_TypeError, "call of non-function (type %s)",
|
||||
PyErr_Format(PyExc_TypeError, "call of non-function (type %.400s)",
|
||||
func->ob_type->tp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue