'Set the events to the current events
:param int fileno: The file descriptor
:param int events: The event mask using READ, WRITE, ERROR'

def update_handler(self, fileno, events):

    (events_cleared, events_set) = self._set_handler_events(fileno, events)
    self._modify_fd_events(fileno, events=events, events_to_clear=events_cleared, events_to_set=events_set)
