@classmethod
    def _patch_poll_impl(cls, ioloop):
        """ Wraps original poll object in the IOLoop's poll object
        """
        if cls._ioloop_registry in ioloop:
            return  # we already patched this instance

        cls._ioloop_registry[ioloop] = idle_map = {}
        ioloop._impl = cls.PollProxy(ioloop._impl, idle_map)
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/main_loop.py/TornadoEventLoop._patch_poll_impl/swapped operands of `in`