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

Method resolveEntity

Lib/test/test_sax.py:965–970  ·  view source on GitHub ↗
(self, publicId, systemId)

Source from the content-addressed store, hash-verified

963 self.entities = []
964
965 def resolveEntity(self, publicId, systemId):
966 self.entities.append((publicId, systemId))
967 source = InputSource()
968 source.setPublicId(publicId)
969 source.setSystemId(systemId)
970 return source
971
972 def test_expat_dtdhandler(self):
973 parser = create_parser()

Callers

nothing calls this directly

Calls 4

setPublicIdMethod · 0.95
setSystemIdMethod · 0.95
InputSourceClass · 0.90
appendMethod · 0.45

Tested by

no test coverage detected