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

Method setContentHandler

Lib/xml/sax/expatreader.py:117–120  ·  view source on GitHub ↗
(self, handler)

Source from the content-addressed store, hash-verified

115 # Redefined setContentHandler to allow changing handlers during parsing
116
117 def setContentHandler(self, handler):
118 xmlreader.IncrementalParser.setContentHandler(self, handler)
119 if self._parsing:
120 self._reset_cont_handler()
121
122 def getFeature(self, name):
123 if name == feature_namespaces:

Callers 1

expatreader.pyFile · 0.45

Calls 1

_reset_cont_handlerMethod · 0.95

Tested by

no test coverage detected