From c8dfd588c21ca5326f1da3674102c1235a37a17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 24 Nov 2007 18:33:40 +0000 Subject: [PATCH] Bug #1494: Document that appendChild removes first. --- Doc/library/xml.dom.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst index d08eee60a2a..5f0a9aa7e30 100644 --- a/Doc/library/xml.dom.rst +++ b/Doc/library/xml.dom.rst @@ -372,8 +372,9 @@ All of the components of an XML document are subclasses of :class:`Node`. .. method:: Node.appendChild(newChild) - Add a new child node to this node at the end of the list of children, returning - *newChild*. + Add a new child node to this node at the end of the list of + children, returning *newChild*. If the node was already in + in the tree, it is removed first. .. method:: Node.insertBefore(newChild, refChild)