Commits

Fred Drake committed 3ffcc9b

Added Node.isSameNode() support.

Comments (0)

Files changed (1)

Lib/xml/dom/minidom.py

                 clone.appendChild(child.cloneNode(1))
         return clone
 
+    # DOM Level 3 (Working Draft 2001-Jan-26)
+
+    def isSameNode(self, other):
+        return self is other
+
+    # minidom-specific API:
+
     def unlink(self):
         self.parentNode = None
         for child in self.childNodes: