]> granicus.if.org Git - python/commitdiff
Change the last PyErr_Format %s format to %.400s.
authorGuido van Rossum <guido@python.org>
Mon, 15 Nov 1999 19:29:33 +0000 (19:29 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 15 Nov 1999 19:29:33 +0000 (19:29 +0000)
Python/ceval.c

index fe2e0a2910f69fd73a9b3d1dd0528dcb6419de0d..1770dc8551cee47180e2080052861297a145def8 100644 (file)
@@ -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;
 }