From 75ffac296ef24758b7e5bd9316f32a8170ade37f Mon Sep 17 00:00:00 2001 From: "RUANG (James Roy)" Date: Fri, 8 Nov 2024 23:29:16 +0800 Subject: [PATCH] gh-125298: Remove misleading text in os.kill documentation (GH-125749) Windows has not accepted process handles in many releases. --- Doc/library/os.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index c0354b2280c..61144256f47 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -4577,8 +4577,7 @@ written in Python, such as a mail server's external command delivery program. only be sent to console processes which share a common console window, e.g., some subprocesses. Any other value for *sig* will cause the process to be unconditionally killed by the TerminateProcess API, and the exit code - will be set to *sig*. The Windows version of :func:`kill` additionally takes - process handles to be killed. + will be set to *sig*. See also :func:`signal.pthread_kill`.