summaryrefslogtreecommitdiff
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-20 18:36:26 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-20 18:36:26 +0000
commitbcbebe765198a1d002a45d893f51500b26e2a07e (patch)
tree31b3c43f5f1890867117e10ab20d800c4da2cdc5 /Python/exceptions.c
parent5aaaf4a0281bb68ab74998902ca98f0f3d152e40 (diff)
downloadcpython-bcbebe765198a1d002a45d893f51500b26e2a07e.tar.gz
mark SyntaxError__str__ as METH_VARARGS
Diffstat (limited to 'Python/exceptions.c')
-rw-r--r--Python/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c
index c585aa7901..a656dbff9a 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}
};