summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 6c18add..668668c 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -3628,7 +3628,7 @@ PyString_Format(PyObject *format, PyObject *args)
}
if (dict && (argidx < arglen) && c != '%') {
PyErr_SetString(PyExc_TypeError,
- "not all arguments converted");
+ "not all arguments converted during string formatting");
goto error;
}
Py_XDECREF(temp);
@@ -3636,7 +3636,7 @@ PyString_Format(PyObject *format, PyObject *args)
} /* until end */
if (argidx < arglen && !dict) {
PyErr_SetString(PyExc_TypeError,
- "not all arguments converted");
+ "not all arguments converted during string formatting");
goto error;
}
if (args_owned) {