]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125298: Remove misleading text in os.kill documentation (GH-125749)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Nov 2024 15:47:46 +0000 (16:47 +0100)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 15:47:46 +0000 (15:47 +0000)
Windows has not accepted process handles in many releases.
(cherry picked from commit 75ffac296ef24758b7e5bd9316f32a8170ade37f)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
Doc/library/os.rst

index 423480e927c900b0625e5db1954beb490245fc7b..18e58249a81b084d99753f063db8a921c9e8b272 100644 (file)
@@ -4245,8 +4245,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`.