(self, event, subscriber)
Remove a subscriber for an event.

        :param event: The name of an event.
        :param subscriber: The subscriber to be removed.
Remove a subscriber for an event.
Remove a subscriber for an event .
def remove(self, event, subscriber):
        """
        Remove a subscriber for an event.

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