diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 9a3e456..5cc8455 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -5708,7 +5708,7 @@ PyObject *PyUnicode_Format(PyObject *format, } if (dict && (argidx < arglen) && c != '%') { PyErr_SetString(PyExc_TypeError, - "not all arguments converted"); + "not all arguments converted during string formatting"); goto onError; } Py_XDECREF(temp); @@ -5716,7 +5716,7 @@ PyObject *PyUnicode_Format(PyObject *format, } /* until end */ if (argidx < arglen && !dict) { PyErr_SetString(PyExc_TypeError, - "not all arguments converted"); + "not all arguments converted during string formatting"); goto onError; } |