diff options
| author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-20 18:36:26 +0000 |
|---|---|---|
| committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-20 18:36:26 +0000 |
| commit | bcbebe765198a1d002a45d893f51500b26e2a07e (patch) | |
| tree | 31b3c43f5f1890867117e10ab20d800c4da2cdc5 /Python | |
| parent | 5aaaf4a0281bb68ab74998902ca98f0f3d152e40 (diff) | |
| download | cpython-bcbebe765198a1d002a45d893f51500b26e2a07e.tar.gz | |
mark SyntaxError__str__ as METH_VARARGS
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/exceptions.c | 2 |
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} }; |
