summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/exceptions.c2
1 files changed, 1 insertions, 1 deletions
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 @@ SyntaxError__str__(PyObject* self, PyObject* args)
PyMethodDef SyntaxError_methods[] = {
{"__init__", SyntaxError__init__, 1},
- {"__str__", SyntaxError__str__,},
+ {"__str__", SyntaxError__str__, 1},
{NULL, NULL}
};