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

Method setIdAttributeNS

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

Source from the content-addressed store, hash-verified

928 self.setIdAttributeNode(idAttr)
929
930 def setIdAttributeNS(self, namespaceURI, localName):
931 idAttr = self.getAttributeNodeNS(namespaceURI, localName)
932 self.setIdAttributeNode(idAttr)
933
934 def setIdAttributeNode(self, idAttr):
935 if idAttr is None or not self.isSameNode(idAttr.ownerElement):

Callers 1

testSetIdAttributeNSMethod · 0.80

Calls 2

getAttributeNodeNSMethod · 0.95
setIdAttributeNodeMethod · 0.95

Tested by 1

testSetIdAttributeNSMethod · 0.64