From: Guido van Rossum Date: Mon, 15 Nov 1999 19:29:33 +0000 (+0000) Subject: Change the last PyErr_Format %s format to %.400s. X-Git-Tag: v1.6a1~738 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba98a42a0f08ada3dc311536815136d7fd960d15;p=thirdparty%2FPython%2Fcpython.git Change the last PyErr_Format %s format to %.400s. --- diff --git a/Python/ceval.c b/Python/ceval.c index fe2e0a2910f6..1770dc8551ce 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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; }