Commit 8e8dc419 authored by Fred Drake's avatar Fred Drake

Remove bogus assignment to self.length in NamedNodeMap.__delitem__().

parent abe7c1a4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment