Change the last PyErr_Format %s format to %.400s.

This commit is contained in:
Guido van Rossum 1999-11-15 19:29:33 +00:00
parent 55e93964e6
commit ba98a42a0f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}