MCPcopy Index your code
hub / github.com/python/cpython / __delitem__

Method __delitem__

Lib/xml/dom/minidom.py:635–638  ·  view source on GitHub ↗
(self, attname_or_tuple)

Source from the content-addressed store, hash-verified

633 return self.setNamedItem(node)
634
635 def __delitem__(self, attname_or_tuple):
636 node = self[attname_or_tuple]
637 _clear_id_cache(node.ownerElement)
638 node.unlink()
639
640 def __getstate__(self):
641 return self._attrs, self._attrsNS, self._ownerElement

Callers

nothing calls this directly

Calls 2

_clear_id_cacheFunction · 0.85
unlinkMethod · 0.45

Tested by

no test coverage detected