parameters: (self)
docstring: unpublish/unsubscribe from topic. Topic instance is no longer
          valid after this call. Additional calls to unregister() have no effect.
docstring_summary: unpublish/unsubscribe from topic. Topic instance is no longer
          valid after this call. Additional calls to unregister() have no effect.
docstring_tokens: unpublish / unsubscribe from topic . Topic instance is no longer valid after this call . Additional calls to unregister () have no effect .
function: def unregister(self):
          """
          unpublish/unsubscribe from topic. Topic instance is no longer
          valid after this call. Additional calls to unregister() have no effect.
          """
          if self.impl:
              # It's possible to have a Subscriber instance with no
              # associated callback
              if self.callback is not None:
                  self.impl.remove_callback(self.callback, self.callback_args)
              self.callback = self.callback_args = None
              super(Subscriber, self).unregister()
function_tokens: def unregister ( self ) : if self . impl : # It's possible to have a Subscriber instance with no # associated callback if self . callback is not None : self . impl . remove_callback ( self . callback , self . callback_args ) self . callback = self . callback_args = None super ( Subscriber , self ) . unregister ( )