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

Method setErrorHandler

Lib/xml/sax/xmlreader.py:62–64  ·  view source on GitHub ↗

Register an object to receive error-message events.

(self, handler)

Source from the content-addressed store, hash-verified

60 return self._err_handler
61
62 def setErrorHandler(self, handler):
63 "Register an object to receive error-message events."
64 self._err_handler = handler
65
66 def setLocale(self, locale):
67 """Allow an application to set the locale for errors and warnings.

Callers 4

parseFunction · 0.80
parseStringFunction · 0.80
expatreader.pyFile · 0.80
parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected