]> granicus.if.org Git - python/commitdiff
Document Node.isSameNode().
authorFred Drake <fdrake@acm.org>
Sat, 3 Feb 2001 01:20:01 +0000 (01:20 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 3 Feb 2001 01:20:01 +0000 (01:20 +0000)
Doc/lib/xmldom.tex

index 4a8c7b7a9447f5a8d15939f971e9a57fe27719fa..74c92fb07f15fa6613c2c3fd9e22b39eaf6aa7a5 100644 (file)
@@ -237,6 +237,13 @@ Returns true if the node has any attributes.
 Returns true if the node has any child nodes.
 \end{methoddesc}
 
+\begin{methoddesc}[Node]{isSameNode}{other}
+Returns true if \var{other} refers to the same node as this node.
+This is especially useful for DOM implementations which use any sort
+of proxy architecture (because more than one object can refer to the
+same node).
+\end{methoddesc}
+
 \begin{methoddesc}[Node]{appendChild}{newChild}
 Add a new child node to this node at the end of the list of children,
 returning \var{newChild}.