diff --git a/Python/modsupport.c b/Python/modsupport.c index e39c315459e..2531d0d1cab 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -296,7 +296,7 @@ do_mkvalue(const char **p_format, va_list *p_va, int flags) int i = va_arg(*p_va, int); if (i < 0 || i > PyUnicode_GetMax()) { PyErr_SetString(PyExc_OverflowError, - "%c arg not in range(0x110000)"; + "%c arg not in range(0x110000)"); return NULL; } return PyUnicode_FromOrdinal(i);