code: def killall(self):
          
          for pid in set(self):
              try:
                  os.kill(pid, signal.SIGTERM)
              except OSError, e: # pragma: nocover
                  if e.errno == errno.ESRCH:
                      "Process previously died on its own"
              self.remove(pid)
docs: Kill all children