mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Change the last PyErr_Format %s format to %.400s.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user