diff options
author | Guido van Rossum <guido@python.org> | 1997-12-19 04:25:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-12-19 04:25:23 (GMT) |
commit | 7d4f68c15f9cd63e26dc5da0795b5ad6a44fe470 (patch) | |
tree | 72004f87ed371288e717319c18d50609c135f5df | |
parent | 414fd4843ae2ad1c559e80b309351827173fc91a (diff) | |
download | cpython-7d4f68c15f9cd63e26dc5da0795b5ad6a44fe470.zip cpython-7d4f68c15f9cd63e26dc5da0795b5ad6a44fe470.tar.gz cpython-7d4f68c15f9cd63e26dc5da0795b5ad6a44fe470.tar.bz2 |
Oops -- '(' is also a legal start character of a new format...
-rw-r--r-- | Python/getargs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ vgetargs1(args, format, p_va, compat) } if (*format != '\0' && !isalpha(*format) && + *format != '(' && *format != '|' && *format != ':' && *format != ';') { PyErr_Format(PyExc_SystemError, "bad format string: %s", formatsave); |