def remove(self, event, subscriber):
subs = self._subscribers<EOL>if event not in subs:<EOL><INDENT>raise ValueError('<STR_LIT>' % event)<EOL><DEDENT>subs[event].remove(subscriber)<EOL>
Remove a subscriber for an event.

:param event: The name of an event.
:param subscriber: The subscriber to be removed.