Skip to content

Commit 75ffac2

Browse files
authored
pythongh-125298: Remove misleading text in os.kill documentation (pythonGH-125749)
Windows has not accepted process handles in many releases.
1 parent 6ec8865 commit 75ffac2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/os.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -4577,8 +4577,7 @@ written in Python, such as a mail server's external command delivery program.
45774577
only be sent to console processes which share a common console window,
45784578
e.g., some subprocesses. Any other value for *sig* will cause the process
45794579
to be unconditionally killed by the TerminateProcess API, and the exit code
4580-
will be set to *sig*. The Windows version of :func:`kill` additionally takes
4581-
process handles to be killed.
4580+
will be set to *sig*.
45824581

45834582
See also :func:`signal.pthread_kill`.
45844583

0 commit comments

Comments
 (0)