commit | 2d15d9d8696b938bffb24c04fc6cb24259c55f80 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Jun 20 18:36:26 2000 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Jun 20 18:36:26 2000 +0000 |
tree | 5d3b2a5578e6ec6f6204861e473b372d3889e710 | |
parent | bdd44a389bfbfa0960eaafcc246b10f98d060a99 [diff] |
mark SyntaxError__str__ as METH_VARARGS
diff --git a/Python/exceptions.c b/Python/exceptions.c index c585aa7..a656dbf 100644 --- a/Python/exceptions.c +++ b/Python/exceptions.c
@@ -727,7 +727,7 @@ PyMethodDef SyntaxError_methods[] = { {"__init__", SyntaxError__init__, 1}, - {"__str__", SyntaxError__str__,}, + {"__str__", SyntaxError__str__, 1}, {NULL, NULL} };