diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/modsupport.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 85b0d66..08f5065 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -292,11 +292,6 @@ do_mkvalue(const char **p_format, va_list *p_va, int flags) case 'C': { int i = va_arg(*p_va, int); - if (i < 0 || i > PyUnicode_GetMax()) { - PyErr_SetString(PyExc_OverflowError, - "%c arg not in range(0x110000)"); - return NULL; - } return PyUnicode_FromOrdinal(i); } |