summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRUANG (James Roy) <longjinyii@outlook.com>2024-11-08 15:29:16 (GMT)
committerGitHub <noreply@github.com>2024-11-08 15:29:16 (GMT)
commit75ffac296ef24758b7e5bd9316f32a8170ade37f (patch)
tree49a20de55cc7951f996e3ad8dc3e7c9bfe486377 /Doc/library
parent6ec886531f14bdf90bc0c3718ac2ae8e3f8823b8 (diff)
downloadcpython-75ffac296ef24758b7e5bd9316f32a8170ade37f.zip
cpython-75ffac296ef24758b7e5bd9316f32a8170ade37f.tar.gz
cpython-75ffac296ef24758b7e5bd9316f32a8170ade37f.tar.bz2
gh-125298: Remove misleading text in os.kill documentation (GH-125749)
Windows has not accepted process handles in many releases.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index c0354b2..6114425 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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`.