From 8e8dc419d0f6d28ff945190dc1e1384e04979a77 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 2 Jul 2002 17:27:06 +0000 Subject: Remove bogus assignment to self.length in NamedNodeMap.__delitem__(). --- Lib/xml/dom/minidom.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index 33ad736..967320f 100644 --- a/Lib/xml/dom/minidom.py +++ b/Lib/xml/dom/minidom.py @@ -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 -- cgit v0.12