diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-11-24 18:33:40 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-11-24 18:33:40 (GMT) |
commit | c8dfd588c21ca5326f1da3674102c1235a37a17f (patch) | |
tree | 46cf7c4b8031872cf7b4e4e261cfa22896da27be /Doc/library | |
parent | 58a6f446dbf48be0c0bdcb19e82a51dea94bd55d (diff) | |
download | cpython-c8dfd588c21ca5326f1da3674102c1235a37a17f.zip cpython-c8dfd588c21ca5326f1da3674102c1235a37a17f.tar.gz cpython-c8dfd588c21ca5326f1da3674102c1235a37a17f.tar.bz2 |
Bug #1494: Document that appendChild removes first.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/xml.dom.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst index d08eee6..5f0a9aa 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) |