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

Method setContentHandler

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

Source from the content-addressed store, hash-verified

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

Callers 1

expatreader.pyFile · 0.45

Calls 1

_reset_cont_handlerMethod · 0.95

Tested by

no test coverage detected