From 2d15d9d8696b938bffb24c04fc6cb24259c55f80 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 20 Jun 2000 18:36:26 +0000 Subject: [PATCH] mark SyntaxError__str__ as METH_VARARGS --- Python/exceptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/exceptions.c b/Python/exceptions.c index c585aa79012..a656dbff9aa 100644 --- a/Python/exceptions.c +++ b/Python/exceptions.c @@ -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} };