Commit 593e000e authored by Christian Heimes's avatar Christian Heimes

Fixed bug #1020 pyexpat.XMParserType broken (was: pydoc doesn't work on pyexpat)

The sentinel in the methods struct was missing
parent 175ac4d6
......@@ -1574,7 +1574,8 @@ xmlparse_clear(xmlparseobject *op)
PyDoc_STRVAR(Xmlparsetype__doc__, "XML parser");
static PyMethodDef xmlparse_tp_methods[] = {
{"__dir__", xmlparse_dir, METH_NOARGS}
{"__dir__", xmlparse_dir, METH_NOARGS},
{NULL, NULL} /* sentinel */
};
static PyTypeObject Xmlparsetype = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment