1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-06-13 19:21:37 +03:00

fixed a stupid bug when renaming a function Daniel

* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
  a function
Daniel
This commit is contained in:
Daniel Veillard
2002-02-02 12:19:46 +00:00
parent 4cf998a639
commit 7fd7a94aa8
3 changed files with 7 additions and 3 deletions

View File

@ -371,7 +371,7 @@ libxml_xpathCallbacksInitialize(void) {
}
PyObject *
libxml_registerXPathFunction(PyObject *self, PyObject *args) {
libxml_xmlRegisterXPathFunction(PyObject *self, PyObject *args) {
PyObject *py_retval;
int c_retval = 0;
xmlChar *name;
@ -946,7 +946,6 @@ static PyMethodDef libxmlMethods[] = {
{ "parent", libxml_parent, METH_VARARGS },
{ "type", libxml_type, METH_VARARGS },
{ "doc", libxml_doc, METH_VARARGS },
{ "registerXPathFunction", libxml_registerXPathFunction, METH_VARARGS }
};
void init_libxml(void) {