code: def proc_del(self, pid):
          
          if pid in self._procs:
              del self._procs[pid]
          else:
              log = self._params.get('log', self._discard)
              log.warning("Process %d missing from proc list during deletion", pid)
docs: Disassociate a process from the legion.  Note that is is almost
          always called by the task -- it doesn't attempt to stop the actual
          process so a direct call is almost always wrong.