diff Python/exceptions.c @ 12968:f31ffb37d72c legacy-trunk

mark SyntaxError__str__ as METH_VARARGS
author Jeremy Hylton <jeremy@alum.mit.edu>
date Tue, 20 Jun 2000 18:36:26 +0000
parents 52c6ac2d16a8
children 1e302d996d58
line wrap: on
line diff
--- a/Python/exceptions.c	Tue Jun 20 18:32:16 2000 +0000
+++ b/Python/exceptions.c	Tue Jun 20 18:36:26 2000 +0000
@@ -727,7 +727,7 @@
 
 PyMethodDef SyntaxError_methods[] = {
     {"__init__", SyntaxError__init__, 1},
-    {"__str__",  SyntaxError__str__,},
+    {"__str__",  SyntaxError__str__, 1},
     {NULL, NULL}
 };