summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-07-02 17:27:06 (GMT)
committerFred Drake <fdrake@acm.org>2002-07-02 17:27:06 (GMT)
commit8e8dc419d0f6d28ff945190dc1e1384e04979a77 (patch)
treecbb742bd6e3b5e0770305e33a510c6d214a0c037 /Lib/xml
parentabe7c1a4afd289e8e2b953241e5c1f12a5bc2071 (diff)
downloadcpython-8e8dc419d0f6d28ff945190dc1e1384e04979a77.zip
cpython-8e8dc419d0f6d28ff945190dc1e1384e04979a77.tar.gz
cpython-8e8dc419d0f6d28ff945190dc1e1384e04979a77.tar.bz2
Remove bogus assignment to self.length in NamedNodeMap.__delitem__().
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/minidom.py1
1 files changed, 0 insertions, 1 deletions
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