parameters: (self, event, function)
docstring: Remove a callback from the given event.
docstring_summary: Remove a callback from the given event.
docstring_tokens: Remove a callback from the given event .
function: def unregister(self, event, function):
          """Remove a callback from the given event."""
          self.callbacks[event].remove(function)
function_tokens: def unregister ( self , event , function ) : self . callbacks [ event ] . remove ( function )