MCPcopy Index your code
hub / github.com/python/cpython / 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 13

fnFunction · 0.80
dnFunction · 0.80
JiFunction · 0.80
roFunction · 0.80
kFunction · 0.80
CFunction · 0.80
WnFunction · 0.80
ZnFunction · 0.80
NFunction · 0.80
CFunction · 0.80
GeFunction · 0.80
QeFunction · 0.80

Calls 1

removeAttributeNodeMethod · 0.95

Tested by 1

testRemoveAttrNSMethod · 0.64