STINNER Victor added the comment:
> 8. Added "Availability: Unix, Windows." to scandir docs like listdir and most
> other os functions have.
That's wrong: availability should only be explained when a function is not
always available. os.listdir() and os.scandir() are always available. I made
Roundup Robot added the comment:
New changeset e7c7431f91b2 by Victor Stinner in branch 'default':
Closes #24013: Improve os.scandir() and DirEntry documentation
https://hg.python.org/cpython/rev/e7c7431f91b2
--
nosy: +python-dev
resolution: -> fixed
stage: -> resolved
status: open ->
New submission from Ben Hoyt:
Victor Stinner's documentation for os.scandir and DirEntry is a great start
(https://docs.python.org/dev/library/os.html#os.scandir), however there are a
few mistakes in it, and a few ways I think it could be improved. Attaching a
patch with the following overall