From: Guido van Rossum Date: Fri, 19 Dec 1997 04:25:23 +0000 (+0000) Subject: Oops -- '(' is also a legal start character of a new format... X-Git-Tag: v1.5~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d4f68c15f9cd63e26dc5da0795b5ad6a44fe470;p=python Oops -- '(' is also a legal start character of a new format... --- diff --git a/Python/getargs.c b/Python/getargs.c index 7931b33cf9..296a3aa2c7 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -258,6 +258,7 @@ vgetargs1(args, format, p_va, compat) } if (*format != '\0' && !isalpha(*format) && + *format != '(' && *format != '|' && *format != ':' && *format != ';') { PyErr_Format(PyExc_SystemError, "bad format string: %s", formatsave);