From 7300193becde71a344c8ac0973dc290fa24d800d Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Tue, 25 Aug 2015 21:55:54 +0200 Subject: Imported Upstream version 2.9.1+dfsg1 --- python/libxml2class.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'python/libxml2class.py') 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) -- cgit v1.2.3