Improve exception text. Closes issue 13811.

This commit is contained in:
Eric V. Smith 2012-01-19 20:04:28 -05:00
parent cff9237d57
commit d25cfe66f5
1 changed files with 2 additions and 2 deletions

View File

@ -241,8 +241,8 @@ parse_internal_render_format_spec(PyObject *format_spec,
/* Finally, parse the type field. */
if (end-pos > 1) {
/* More than one char remain, invalid conversion spec. */
PyErr_Format(PyExc_ValueError, "Invalid conversion specification");
/* More than one char remain, invalid format specifier. */
PyErr_Format(PyExc_ValueError, "Invalid format specifier");
return 0;
}