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

Windows has not accepted process handles in many releases.
This commit is contained in:
RUANG (James Roy) 2024-11-08 23:29:16 +08:00 committed by GitHub
parent 6ec886531f
commit 75ffac296e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

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