diff options
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 7bc150d..502944d 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -257,7 +257,7 @@ vgetargs1(args, format, p_va, compat) } } - if (*format != '\0' && !isalpha(*format) && + if (*format != '\0' && !isalpha((int)(*format)) && *format != '(' && *format != '|' && *format != ':' && *format != ';') { PyErr_Format(PyExc_SystemError, |