diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-22 00:09:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-22 00:09:21 (GMT) |
commit | 0a5f65ab0af44aed16da89abb2543e8242f927ea (patch) | |
tree | b40d56e2f762b309dc9da2d00483aebee1d46796 /Python | |
parent | 39bc38c39c5a0947c8c406e86a3e9faad930a133 (diff) | |
download | cpython-0a5f65ab0af44aed16da89abb2543e8242f927ea.zip cpython-0a5f65ab0af44aed16da89abb2543e8242f927ea.tar.gz cpython-0a5f65ab0af44aed16da89abb2543e8242f927ea.tar.bz2 |
Issue #7330, #10833: Replace %100s by %.100s and %200s by %.200s
I suppose that the author would like to truncate the type name, not get a
string of 100/200 characters.
Diffstat (limited to 'Python')
-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 d2444aa..50d5aac 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -4130,7 +4130,7 @@ ext_do_call(PyObject *func, PyObject ***pp_stack, int flags, int na, int nk) if (PyErr_ExceptionMatches(PyExc_TypeError)) { PyErr_Format(PyExc_TypeError, "%.200s%.200s argument after * " - "must be a sequence, not %200s", + "must be a sequence, not %.200s", PyEval_GetFuncName(func), PyEval_GetFuncDesc(func), stararg->ob_type->tp_name); |