[docs] Python 3.5.1 Documentation Bug

Saul Spatz saul.spatz at gmail.com
Mon Apr 25 10:14:31 EDT 2016


Hi,

In the documentation for os.mkdir, it says, "If the directory already
exists, OSError is raised."  On my Mac at least, FileExistsError is raised
and isinstance(FileExistsError, OSError) returns False.

Saul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20160425/45d2e8fa/attachment-0001.html>


More information about the docs mailing list