parameters: (self)
docstring: Unregister this object as a listener on the bus.
docstring_summary: Unregister this object as a listener on the bus.
docstring_tokens: Unregister this object as a listener on the bus .
function: def unsubscribe(self):
          """Unregister this object as a listener on the bus."""
          for channel in self.bus.listeners:
              # Unsubscribe self.start, self.exit, etc. if present.
              method = getattr(self, channel, None)
              if method is not None:
                  self.bus.unsubscribe(channel, method)
function_tokens: def unsubscribe ( self ) : for channel in self . bus . listeners : # Unsubscribe self.start, self.exit, etc. if present. method = getattr ( self , channel , None ) if method is not None : self . bus . unsubscribe ( channel , method )