def on_poll_start(self): """Called by hub before each ``poll()``""" cycle = self.cycle cycle.on_poll_start() return dict((fd, self.handle_event) for fd in cycle.fds)
def on_poll_start(self): cycle = self.cycle cycle.on_poll_start() return dict((fd, self.handle_event) for fd in cycle.fds)