MCPcopy Create free account
hub / github.com/ipython/ipython / UnknownBackend

Class UnknownBackend

IPython/terminal/pt_inputhooks/__init__.py:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 registered[name] = inputhook
24
25class UnknownBackend(KeyError):
26 def __init__(self, name):
27 self.name = name
28
29 def __str__(self):
30 return ("No event loop integration for {!r}. "
31 "Supported event loops are: {}").format(self.name,
32 ', '.join(backends + sorted(registered)))
33
34def get_inputhook_name_and_func(gui):
35 if gui in registered:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected