]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125298: Remove misleading text in os.kill documentation (GH-125749)
authorRUANG (James Roy) <longjinyii@outlook.com>
Fri, 8 Nov 2024 15:29:16 +0000 (23:29 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 15:29:16 +0000 (15:29 +0000)
Windows has not accepted process handles in many releases.

Doc/library/os.rst

index c0354b2280c45c074d31c43b22e46e93f1b3087b..61144256f47ddb68783a5a7cf3077443d81fbbae 100644 (file)
@@ -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`.