Skip to content

Commit ab1ea18

Browse files
Update Python/getargs.c
Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent fac1989 commit ab1ea18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/getargs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,9 @@ converttuple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
482482
else if (c == ':' || c == ';' || c == '\0')
483483
break;
484484
else {
485-
if (level == 0 && Py_ISALPHA(c))
485+
if (level == 0 && Py_ISALPHA(c)) {
486486
n++;
487+
}
487488
if (c == 'e' && (*format == 's' || *format == 't')) {
488489
format++;
489490
continue;

0 commit comments

Comments
 (0)