Commit bcbebe76 authored by Jeremy Hylton's avatar Jeremy Hylton

mark SyntaxError__str__ as METH_VARARGS

parent 5aaaf4a0
...@@ -727,7 +727,7 @@ SyntaxError__str__(PyObject* self, PyObject* args) ...@@ -727,7 +727,7 @@ SyntaxError__str__(PyObject* self, PyObject* args)
PyMethodDef SyntaxError_methods[] = { PyMethodDef SyntaxError_methods[] = {
{"__init__", SyntaxError__init__, 1}, {"__init__", SyntaxError__init__, 1},
{"__str__", SyntaxError__str__,}, {"__str__", SyntaxError__str__, 1},
{NULL, NULL} {NULL, NULL}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment