[Python-3000-checkins] r59083 - python/branches/py3k/Modules/pyexpat.c
christian.heimes
python-3000-checkins at python.org
Wed Nov 21 01:54:38 CET 2007
Author: christian.heimes
Date: Wed Nov 21 01:54:38 2007
New Revision: 59083
Modified:
python/branches/py3k/Modules/pyexpat.c
Log:
Fixed bug #1020 pyexpat.XMParserType broken (was: pydoc doesn't work on pyexpat)
The sentinel in the methods struct was missing
Modified: python/branches/py3k/Modules/pyexpat.c
==============================================================================
--- python/branches/py3k/Modules/pyexpat.c (original)
+++ python/branches/py3k/Modules/pyexpat.c Wed Nov 21 01:54:38 2007
@@ -1574,7 +1574,8 @@
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 = {
More information about the Python-3000-checkins
mailing list