Skip to content

Commit 8ebb6a0

Browse files
gh-125298: Remove misleading text in os.kill documentation (GH-125749)
Windows has not accepted process handles in many releases. (cherry picked from commit 75ffac2) Co-authored-by: RUANG (James Roy) <[email protected]>
1 parent 23468ac commit 8ebb6a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4532,8 +4532,7 @@ written in Python, such as a mail server's external command delivery program.
45324532
only be sent to console processes which share a common console window,
45334533
e.g., some subprocesses. Any other value for *sig* will cause the process
45344534
to be unconditionally killed by the TerminateProcess API, and the exit code
4535-
will be set to *sig*. The Windows version of :func:`kill` additionally takes
4536-
process handles to be killed.
4535+
will be set to *sig*.
45374536

45384537
See also :func:`signal.pthread_kill`.
45394538

0 commit comments

Comments
 (0)