def disable(self): """ Disable event loop integration with gevent. This merely sets PyOS_InputHook to NULL. """ self.manager.clear_inputhook()