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

Method _get_isId

Lib/xml/dom/minidom.py:448–462  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

446 del self.childNodes[:]
447
448 def _get_isId(self):
449 if self._is_id:
450 return True
451 doc = self.ownerDocument
452 elem = self.ownerElement
453 if doc is None or elem is None:
454 return False
455
456 info = doc._get_elem_info(elem)
457 if info is None:
458 return False
459 if self.namespaceURI:
460 return info.isIdNS(self.namespaceURI, self.localName)
461 else:
462 return info.isId(self.nodeName)
463
464 def _get_schemaType(self):
465 doc = self.ownerDocument

Callers

nothing calls this directly

Calls 3

_get_elem_infoMethod · 0.80
isIdNSMethod · 0.45
isIdMethod · 0.45

Tested by

no test coverage detected