MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / get_dispatcher

Method get_dispatcher

pythonwhat/State.py:268–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

266 return ast
267
268 def get_dispatcher(self):
269 try:
270 return Dispatcher(self.pre_exercise_code)
271 except Exception as e:
272 with debugger(self):
273 self.report("Something went wrong when parsing the PEC: %s" % str(e))
274
275
276class Dispatcher(DispatcherInterface):

Callers 1

__init__Method · 0.95

Calls 1

DispatcherClass · 0.85

Tested by

no test coverage detected