mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
mark SyntaxError__str__ as METH_VARARGS
This commit is contained in:
parent
bdd44a389b
commit
2d15d9d869
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue