Michael Yagliyan added the comment:
If this documentation fix will not be backported (i.e. it will only apply to
versions *after* the aforementioned bug fix) then a more precise way to phrase
that last part would be:
"...with the first 2 elements being 0 and the last being an all
New submission from Michael Yagliyan :
For versions 2.7 through 3.9 of https://docs.python.org/3/library/os.html,
os.WNOHANG is described as returning (0, 0) when no child process status is
immediately available.
However, both os.wait3() and os.wait4() return 3-element tuples and are