diff options
author | Fred Drake <fdrake@acm.org> | 2002-07-02 17:27:06 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-07-02 17:27:06 (GMT) |
commit | 8e8dc419d0f6d28ff945190dc1e1384e04979a77 (patch) | |
tree | cbb742bd6e3b5e0770305e33a510c6d214a0c037 /Lib/xml/dom | |
parent | abe7c1a4afd289e8e2b953241e5c1f12a5bc2071 (diff) | |
download | cpython-8e8dc419d0f6d28ff945190dc1e1384e04979a77.zip cpython-8e8dc419d0f6d28ff945190dc1e1384e04979a77.tar.gz cpython-8e8dc419d0f6d28ff945190dc1e1384e04979a77.tar.bz2 |
Remove bogus assignment to self.length in NamedNodeMap.__delitem__().
Diffstat (limited to 'Lib/xml/dom')
-rw-r--r-- | Lib/xml/dom/minidom.py | 1 |
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 |