]> granicus.if.org Git - python/commitdiff
Remove bogus assignment to self.length in NamedNodeMap.__delitem__().
authorFred Drake <fdrake@acm.org>
Tue, 2 Jul 2002 17:27:06 +0000 (17:27 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 2 Jul 2002 17:27:06 +0000 (17:27 +0000)
Lib/xml/dom/minidom.py

index 33ad736ea81026f19d01d7fa5fbd572da80f660f..967320f5aa5fc1cfb086b230a07f3f934717c98d 100644 (file)
@@ -459,7 +459,6 @@ class NamedNodeMap:
         node.unlink()
         del self._attrs[node.name]
         del self._attrsNS[(node.namespaceURI, node.localName)]
-        self.length = len(self._attrs)
 
 AttributeList = NamedNodeMap