]> granicus.if.org Git - python/commitdiff
mark SyntaxError__str__ as METH_VARARGS
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 20 Jun 2000 18:36:26 +0000 (18:36 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 20 Jun 2000 18:36:26 +0000 (18:36 +0000)
Python/exceptions.c

index c585aa79012c809333d774abc7c956a5bb7703c1..a656dbff9aa98f03aa05052b9b9073d3c3035365 100644 (file)
@@ -727,7 +727,7 @@ SyntaxError__str__(PyObject* self, PyObject* args)
 
 PyMethodDef SyntaxError_methods[] = {
     {"__init__", SyntaxError__init__, 1},
-    {"__str__",  SyntaxError__str__,},
+    {"__str__",  SyntaxError__str__, 1},
     {NULL, NULL}
 };