mirror of https://github.com/python/cpython
Correct a typo during previous checkin.
This commit is contained in:
parent
a4db68622c
commit
a073e33746
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue