mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-06-13 19:21:37 +03:00
fixed a small bug a bit of cleanup. Daniel
* python/Makefile.am python/TODO python/libxml.py: fixed a small bug a bit of cleanup. Daniel
This commit is contained in:
@ -45,7 +45,7 @@ class xmlCore:
|
||||
return None
|
||||
return xmlNode(_obj=ret)
|
||||
elif attr == "content":
|
||||
return self.content()
|
||||
return _libxml.xmlNodeGetContent(self._o)
|
||||
elif attr == "name":
|
||||
return _libxml.name(self._o)
|
||||
elif attr == "type":
|
||||
@ -147,6 +147,14 @@ def xpathObjectRet(o):
|
||||
def registerXPathFunction(ctxt, name, ns_uri, f):
|
||||
ret = _libxml.xmlRegisterXPathFunction(ctxt, name, ns_uri, f)
|
||||
|
||||
#
|
||||
# A parser context
|
||||
#
|
||||
class parserCtxt:
|
||||
def __init__(self, _obj=None):
|
||||
self._o = _obj
|
||||
|
||||
|
||||
#
|
||||
# Everything below this point is automatically generated
|
||||
#
|
||||
|
Reference in New Issue
Block a user