commit | ba98a42a0f08ada3dc311536815136d7fd960d15 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Nov 15 19:29:33 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Nov 15 19:29:33 1999 +0000 |
tree | e78dcf0cd0c4ad7a8f8799d6c5655e7b2d111c0a | |
parent | 55e93964e6a4f4ab72a1856353a28c6e7ed430b6 [diff] [blame] |
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; }