Skip to content

Commit 86200bd

Browse files
committed
Try to fix doc build error 3
1 parent a916da3 commit 86200bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Lib/subprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,8 +2178,8 @@ def _wait(self, timeout):
21782178
# Try efficient wait first.
21792179
if self._wait_pidfd(timeout) or self._wait_kqueue(timeout):
21802180
# Process is gone. At this point os.waitpid(pid, 0)
2181-
# will return immediately, but in rare races (e.g.
2182-
# long running processes) the PID may have been reused.
2181+
# will return immediately, but in rare races the
2182+
# PID may have been reused.
21832183
# os.waitpid(pid, WNOHANG) ensures we attempt a
21842184
# non-blocking reap without blocking indefinitely.
21852185
with self._waitpid_lock:

Misc/NEWS.d/next/Library/2026-01-19-16-45-16.gh-issue-83069.0TaeH9.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
event-driven mechanism now waits for process termination, if available:
33

44
- Linux ≥= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`
5-
- macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` +``KQ_NOTE_EXIT``
5+
- macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``KQ_NOTE_EXIT``
66
- Windows keeps using ``WaitForSingleObject`` (unchanged)
77

88
If none of these mechanisms are available, the function falls back to the

0 commit comments

Comments
 (0)