summaryrefslogtreecommitdiffstats
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-20 18:36:26 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-20 18:36:26 (GMT)
commit2d15d9d8696b938bffb24c04fc6cb24259c55f80 (patch)
tree5d3b2a5578e6ec6f6204861e473b372d3889e710 /Python/exceptions.c
parentbdd44a389bfbfa0960eaafcc246b10f98d060a99 (diff)
downloadcpython-2d15d9d8696b938bffb24c04fc6cb24259c55f80.zip
cpython-2d15d9d8696b938bffb24c04fc6cb24259c55f80.tar.gz
cpython-2d15d9d8696b938bffb24c04fc6cb24259c55f80.tar.bz2
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 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}
};