diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-01-04 16:35:29 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-01-04 16:35:29 +0000 |
commit | e59494fa5410ced5625687f025f61d30c5b2f933 (patch) | |
tree | cbf7a95a6e09bfe5dbe1143224112ad71357b38d /python/libxml.py | |
parent | 623a9eb2df5e62efd2d28765f13a2c314113d679 (diff) | |
download | android_external_libxml2-e59494fa5410ced5625687f025f61d30c5b2f933.tar.gz android_external_libxml2-e59494fa5410ced5625687f025f61d30c5b2f933.tar.bz2 android_external_libxml2-e59494fa5410ced5625687f025f61d30c5b2f933.zip |
a bit of cleanup small fix more work on the XmlTextReader tutorial a few
* xmllint.c: a bit of cleanup
* xmlreader.c: small fix
* doc/xmlreader.html: more work on the XmlTextReader tutorial
* python/libxml.py: a few fixes pointed out by Hannu Krosing
Daniel
Diffstat (limited to 'python/libxml.py')
-rw-r--r-- | python/libxml.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/python/libxml.py b/python/libxml.py index a1b5a7bb..6203e3d5 100644 --- a/python/libxml.py +++ b/python/libxml.py @@ -302,11 +302,6 @@ class xmlCore: return libxml2mod.name(self._o) def get_type(self): return libxml2mod.type(self._o) - def get_doc(self): - ret = libxml2mod.doc(self._o) - if ret == None: - return None - return xmlDoc(_obj=ret) def free(self): libxml2mod.freeDoc(self._o) @@ -356,7 +351,7 @@ def nodeWrap(o): if name == "entity_decl": return xmlEntity(_obj=o) if name == "dtd": - return xmlAttr(_obj=o) + return xmlDtd(_obj=o) return xmlNode(_obj=o) def xpathObjectRet(o): |