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 = {
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to