code: def _remove_observer(self, signal, observer):
          
  
          if observer in self._observers[signal]:
              self._observers[signal].remove(observer)
docs: Remove an observer to a valid signal.
  
          Parameters
          ----------
          signal : str
              a valid signal.
          observer : @func
              an obervation function to be removed.