Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 68822:d3ae3fe3eb97
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.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 22 Mar 2011 01:09:21 +0100 |
| parents | db73857669fb |
| children | c892b0321d23 |
line wrap: on
line diff
--- a/Python/ceval.c Mon Mar 21 17:36:15 2011 -0400 +++ b/Python/ceval.c Tue Mar 22 01:09:21 2011 +0100 @@ -4130,7 +4130,7 @@ 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);
