[docs] [issue24013] Improve os.scandir() and DirEntry documentation

STINNER Victor report at bugs.python.org
Fri May 15 09:14:50 CEST 2015


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 the opposite change: I removed the availability information from os.listdir() and many other os functions in the changeset 77ebd3720284.

Thanks Ben, I applied your patch (except of the Availability line).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24013>
_______________________________________


More information about the docs mailing list