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

Method setContentHandler

Lib/xml/sax/xmlreader.py:38–40  ·  view source on GitHub ↗

Registers a new object to receive document content events.

(self, handler)

Source from the content-addressed store, hash-verified

36 return self._cont_handler
37
38 def setContentHandler(self, handler):
39 "Registers a new object to receive document content events."
40 self._cont_handler = handler
41
42 def getDTDHandler(self):
43 "Returns the current DTD handler."

Callers 4

resetMethod · 0.45
parseFunction · 0.45
parseStringFunction · 0.45
parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected