def __erase_link(self, to_pid):
    for pid, links in self._links.items():
      try:
        links.remove(to_pid)
        log.debug('PID link from %s <- %s exited.' % (pid, to_pid))
        self._processes[pid].exited(to_pid)
      except __HOLE__:
        continue
dataset/ETHPy150Open wickman/compactor/compactor/context.py/Context.__erase_link