summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-22 01:09:21 +0100
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-22 01:09:21 +0100
commite4d2501d8d2d2050dd6950aa4a794003fb2c7889 (patch)
tree326ba9e2c30529f43f61fb0eedafc565ee51f1dc /Python/ceval.c
parentbc713078dbbea9606ec2298ab42475095657f004 (diff)
downloadcpython-e4d2501d8d2d2050dd6950aa4a794003fb2c7889.tar.gz
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/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index d2444aa9f0..50d5aacd9e 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);