diff options
author | Aron Xu <aron@debian.org> | 2015-09-21 22:58:06 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2015-09-21 22:58:06 +0800 |
commit | 2ee13d9e464a1f5daccaff58f5d09d36b7c4f667 (patch) | |
tree | b022967f880b7fb1e56c8cc4c3f200d6ffbc9efd /python/libxml2class.py | |
parent | 7300193becde71a344c8ac0973dc290fa24d800d (diff) | |
download | libxml2-upstream.tar.gz |
Revert "Imported Upstream version 2.9.1+dfsg1"upstream
This reverts commit 7300193becde71a344c8ac0973dc290fa24d800d.
Diffstat (limited to 'python/libxml2class.py')
-rw-r--r-- | python/libxml2class.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/libxml2class.py b/python/libxml2class.py index 48aa7ba..4b718dc 100644 --- a/python/libxml2class.py +++ b/python/libxml2class.py @@ -2577,8 +2577,10 @@ class xmlNode(xmlCore): def newNs(self, href, prefix): """Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing - one present on this node. We use href==None in the case of - an element creation where the namespace was not defined. """ + one present on this node. Note that for a default + namespace, @prefix should be None. We use href==None in + the case of an element creation where the namespace was not + defined. """ ret = libxml2mod.xmlNewNs(self._o, href, prefix) if ret is None:raise treeError('xmlNewNs() failed') __tmp = xmlNs(_obj=ret) |