gh-125298: Remove misleading text in os.kill documentation (GH-125749)

Windows has not accepted process handles in many releases.
(cherry picked from commit 75ffac296e)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
This commit is contained in:
Miss Islington (bot) 2024-11-08 16:47:46 +01:00 committed by GitHub
parent fc1e9e606b
commit 69849ad288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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`.