From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:47:52 +0000 (+0100) Subject: gh-125298: Remove misleading text in os.kill documentation (GH-125749) X-Git-Tag: v3.13.1~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ebb6a051b01ddede63cbf7437aa920af0a8625f;p=thirdparty%2FPython%2Fcpython.git gh-125298: Remove misleading text in os.kill documentation (GH-125749) Windows has not accepted process handles in many releases. (cherry picked from commit 75ffac296ef24758b7e5bd9316f32a8170ade37f) Co-authored-by: RUANG (James Roy) --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index e118b1e861f7..454e6d769fa5 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -4532,8 +4532,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`.