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

Function _get_containing_entref

Lib/xml/dom/minidom.py:1203–1209  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1201 return None
1202
1203def _get_containing_entref(node):
1204 c = node.parentNode
1205 while c is not None:
1206 if c.nodeType == Node.ENTITY_REFERENCE_NODE:
1207 return c
1208 c = c.parentNode
1209 return None
1210
1211
1212class Comment(CharacterData):

Callers 1

setIdAttributeNodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…