Correct a typo during previous checkin.

This commit is contained in:
Amaury Forgeot d'Arc 2008-07-04 21:34:47 +00:00
parent a4db68622c
commit a073e33746
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ do_mkvalue(const char **p_format, va_list *p_va, int flags)
int i = va_arg(*p_va, int); int i = va_arg(*p_va, int);
if (i < 0 || i > PyUnicode_GetMax()) { if (i < 0 || i > PyUnicode_GetMax()) {
PyErr_SetString(PyExc_OverflowError, PyErr_SetString(PyExc_OverflowError,
"%c arg not in range(0x110000)"; "%c arg not in range(0x110000)");
return NULL; return NULL;
} }
return PyUnicode_FromOrdinal(i); return PyUnicode_FromOrdinal(i);