Commits

Fred Drake  committed 3ffcc9b

Added Node.isSameNode() support.

  • Participants
  • Parent commits 25ec4f8
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File 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: