summaryrefslogtreecommitdiff
path: root/python/libxml2class.py
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2015-08-25 21:55:54 +0200
committerRaphaël Hertzog <hertzog@debian.org>2015-08-25 21:55:54 +0200
commit7300193becde71a344c8ac0973dc290fa24d800d (patch)
tree6490c364e7764294c209e536d42f3d31d23ebc0d /python/libxml2class.py
parent3871a83a5f0aebd8c00879eab14fe901c93dbfcf (diff)
downloadlibxml2-7300193becde71a344c8ac0973dc290fa24d800d.tar.gz
Imported Upstream version 2.9.1+dfsg1
Diffstat (limited to 'python/libxml2class.py')
-rw-r--r--python/libxml2class.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/libxml2class.py b/python/libxml2class.py
index 4b718dc..48aa7ba 100644
--- a/python/libxml2class.py
+++ b/python/libxml2class.py
@@ -2577,10 +2577,8 @@ 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. 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. """
+ one present on this node. 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)