diff options
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index fe2e0a2..1770dc8 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; } |