diff --git a/docs/index.rst b/docs/index.rst index 6ccbedc27..44c79110e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -918,7 +918,7 @@ Functions for p in procs: p.terminate() gone, alive = psutil.wait_procs(procs, timeout=3, callback=on_terminate) - for p in still_alive: + for p in alive: p.kill() Exceptions