MCPcopy Index your code
hub / github.com/RustPython/RustPython / removeAttributeNS

Method removeAttributeNS

Lib/xml/dom/minidom.py:827–834  ·  view source on GitHub ↗
(self, namespaceURI, localName)

Source from the content-addressed store, hash-verified

825 self.removeAttributeNode(attr)
826
827 def removeAttributeNS(self, namespaceURI, localName):
828 if self._attrsNS is None:
829 raise xml.dom.NotFoundErr()
830 try:
831 attr = self._attrsNS[(namespaceURI, localName)]
832 except KeyError:
833 raise xml.dom.NotFoundErr()
834 self.removeAttributeNode(attr)
835
836 def removeAttributeNode(self, node):
837 if node is None:

Callers 1

testRemoveAttrNSMethod · 0.80

Calls 1

removeAttributeNodeMethod · 0.95

Tested by 1

testRemoveAttrNSMethod · 0.64