Skip to content

Commit 69849ad

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 fc1e9e6 commit 69849ad

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
@@ -4245,8 +4245,7 @@ written in Python, such as a mail server's external command delivery program.
42454245
only be sent to console processes which share a common console window,
42464246
e.g., some subprocesses. Any other value for *sig* will cause the process
42474247
to be unconditionally killed by the TerminateProcess API, and the exit code
4248-
will be set to *sig*. The Windows version of :func:`kill` additionally takes
4249-
process handles to be killed.
4248+
will be set to *sig*.
42504249

42514250
See also :func:`signal.pthread_kill`.
42524251

0 commit comments

Comments
 (0)