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

Method getAttributeNodeNS

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

Source from the content-addressed store, hash-verified

790 return self._attrs.get(attrname)
791
792 def getAttributeNodeNS(self, namespaceURI, localName):
793 if self._attrsNS is None:
794 return None
795 return self._attrsNS.get((namespaceURI, localName))
796
797 def setAttributeNode(self, attr):
798 if attr.ownerElement not in (None, self):

Callers 7

setAttributeNSMethod · 0.95
setIdAttributeNSMethod · 0.95
testRemoveNamedItemNSMethod · 0.80
testRenameAttributeMethod · 0.80
testSetIdAttributeNSMethod · 0.80
_clone_nodeFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 4

testRemoveNamedItemNSMethod · 0.64
testRenameAttributeMethod · 0.64
testSetIdAttributeNSMethod · 0.64