commit | 7d4f68c15f9cd63e26dc5da0795b5ad6a44fe470 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Dec 19 04:25:23 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Dec 19 04:25:23 1997 +0000 |
tree | 72004f87ed371288e717319c18d50609c135f5df | |
parent | 414fd4843ae2ad1c559e80b309351827173fc91a [diff] [blame] |
Oops -- '(' is also a legal start character of a new format...
diff --git a/Python/getargs.c b/Python/getargs.c index 7931b33..296a3aa 100644 --- a/Python/getargs.c +++ b/Python/getargs.c
@@ -258,6 +258,7 @@ } if (*format != '\0' && !isalpha(*format) && + *format != '(' && *format != '|' && *format != ':' && *format != ';') { PyErr_Format(PyExc_SystemError, "bad format string: %s", formatsave);