Register the function *inputhook* as an event loop integration.
(name, inputhook)
| 19 | registered = {} |
| 20 | |
| 21 | def register(name, inputhook): |
| 22 | """Register the function *inputhook* as an event loop integration.""" |
| 23 | registered[name] = inputhook |
| 24 | |
| 25 | class UnknownBackend(KeyError): |
| 26 | def __init__(self, name): |
nothing calls this directly
no outgoing calls
no test coverage detected