diff Python/getargs.c @ 6923:74ad26825060 legacy-trunk

Oops -- '(' is also a legal start character of a new format...
author Guido van Rossum <guido@python.org>
date Fri, 19 Dec 1997 04:25:23 +0000
parents 93e480dedcf0
children 0efed4d3323b
line wrap: on
line diff
--- a/Python/getargs.c	Fri Dec 19 04:24:24 1997 +0000
+++ b/Python/getargs.c	Fri Dec 19 04:25:23 1997 +0000
@@ -258,6 +258,7 @@
 	}
 
 	if (*format != '\0' && !isalpha(*format) &&
+	    *format != '(' &&
 	    *format != '|' && *format != ':' && *format != ';') {
 		PyErr_Format(PyExc_SystemError,
 			     "bad format string: %s", formatsave);