Kaydet (Commit) 651b61f8 authored tarafından 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
üst 1076a208
...@@ -1574,7 +1574,8 @@ xmlparse_clear(xmlparseobject *op) ...@@ -1574,7 +1574,8 @@ xmlparse_clear(xmlparseobject *op)
PyDoc_STRVAR(Xmlparsetype__doc__, "XML parser"); PyDoc_STRVAR(Xmlparsetype__doc__, "XML parser");
static PyMethodDef xmlparse_tp_methods[] = { static PyMethodDef xmlparse_tp_methods[] = {
{"__dir__", xmlparse_dir, METH_NOARGS} {"__dir__", xmlparse_dir, METH_NOARGS},
{NULL, NULL} /* sentinel */
}; };
static PyTypeObject Xmlparsetype = { 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