Change the last PyErr_Format %s format to %.400s.
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 @@
 		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;
 }