(self, fd)
Stops watching a fd.
Stops watching a fd.
Stops watching a fd .
def remove_watcher(self, fd):
        """Stops watching a fd."""
        if not isinstance(fd, int):
            fd = fd.fileno()

        if fd not in self.callbacks:
            return

        self.callbacks.pop(fd, None)
        self.epoll.unregister(fd)
def remove_watcher ( self , fd ) : if not isinstance ( fd , int ) : fd = fd . fileno ( ) if fd not in self . callbacks : return self . callbacks . pop ( fd , None ) self . epoll . unregister ( fd )