parameters: (self)
docstring: Notify that an object is being removed from all relationships.
  
          Notifies dependent object that it is being removed, and removes itself
          from its dependencies' list of dependents. By default the method passes
          itself to all dependents' ``_handle_removed_dependency`` methods.
  
          Note:
              If more information is needed to pass to _handle_removed_dependency,
              then overwrite this method.
docstring_summary: Notify that an object is being removed from all relationships.
docstring_tokens: Notify that an object is being removed from all relationships .
function: def _notify_disconnect(self):
          """Notify that an object is being removed from all relationships.
  
          Notifies dependent object that it is being removed, and removes itself
          from its dependencies' list of dependents. By default the method passes
          itself to all dependents' ``_handle_removed_dependency`` methods.
  
          Note:
              If more information is needed to pass to _handle_removed_dependency,
              then overwrite this method.
          """
          for dependent in self._dependents:
              dependent._handle_removed_dependency(self)
          self._dependents = []
          for dependency in self._dependencies:
              dependency._remove_dependent(self)
          self._dependencies = []
function_tokens: def _notify_disconnect ( self ) : for dependent in self . _dependents : dependent . _handle_removed_dependency ( self ) self . _dependents = [ ] for dependency in self . _dependencies : dependency . _remove_dependent ( self ) self . _dependencies = [ ]