From: Fred Drake Date: Tue, 2 Jul 2002 17:27:06 +0000 (+0000) Subject: Remove bogus assignment to self.length in NamedNodeMap.__delitem__(). X-Git-Tag: v2.3c1~5136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e8dc419d0f6d28ff945190dc1e1384e04979a77;p=thirdparty%2FPython%2Fcpython.git Remove bogus assignment to self.length in NamedNodeMap.__delitem__(). --- diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index 33ad736ea810..967320f5aa5f 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