mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-24 00:58:53 +03:00
more work, now able to extend the XPath interpreter with functions written
* python/Makefile.am python/generator.py python/libxml.c python/libxml.py: more work, now able to extend the XPath interpreter with functions written in python. Daniel
This commit is contained in:
@ -672,6 +672,10 @@ for classname in function_classes.keys():
|
||||
classes.write(" _libxml.%s(self._o)\n" %
|
||||
classes_destructors[classname]);
|
||||
classes.write(" self._o = None\n\n");
|
||||
classes.write(" def __repr__(self):\n")
|
||||
format = "%s:%%s" % (classname)
|
||||
classes.write(" return \"%s\" %% (self.name)\n\n" % (
|
||||
format))
|
||||
flist = function_classes[classname]
|
||||
flist.sort(functionCompare)
|
||||
oldfile = ""
|
||||
|
Reference in New Issue
Block a user