Skip to content

Commit 3c92c1d

Browse files
committed
Try to fix doc build error 5
1 parent 85c38bc commit 3c92c1d

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed
Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
:meth:`subprocess.Popen.wait`: when ``timeout`` is not ``None``, an efficient
2-
event-driven mechanism now waits for process termination, if available:
3-
4-
- Linux ≥= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`
5-
- macOS and other BSD variants use :func:`select.kqueue`
6-
- Windows keeps using ``WaitForSingleObject`` (unchanged)
7-
8-
If none of these mechanisms are available, the function falls back to the
9-
traditional busy loop (non-blocking call and short sleeps).
10-
11-
Patch by Giampaolo Rodola.
2+
event-driven mechanism now waits for process termination, if available. Linux
3+
≥= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. macOS and other BSD
4+
variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``KQ_NOTE_EXIT``.
5+
Windows keeps using ``WaitForSingleObject`` (unchanged) If none of these
6+
mechanisms are available, the function falls back to the traditional busy loop
7+
(non-blocking call and short sleeps). Patch by Giampaolo Rodola.

0 commit comments

Comments
 (0)