code: def remove(self, event, subscriber):
          
          subs = self._subscribers
          if event not in subs:
              raise ValueError('No subscribers: %r' % event)
          subs[event].remove(subscriber)
docs: Remove a subscriber for an event.
  
          :param event: The name of an event.
          :param subscriber: The subscriber to be removed.