diff options
author | Guido van Rossum <guido@python.org> | 1999-11-15 19:29:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-11-15 19:29:33 (GMT) |
commit | ba98a42a0f08ada3dc311536815136d7fd960d15 (patch) | |
tree | e78dcf0cd0c4ad7a8f8799d6c5655e7b2d111c0a | |
parent | 55e93964e6a4f4ab72a1856353a28c6e7ed430b6 (diff) | |
download | cpython-ba98a42a0f08ada3dc311536815136d7fd960d15.zip cpython-ba98a42a0f08ada3dc311536815136d7fd960d15.tar.gz cpython-ba98a42a0f08ada3dc311536815136d7fd960d15.tar.bz2 |
Change the last PyErr_Format %s format to %.400s.
-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; } |