New submission from Enrico Bianchi:

Currently, documentation for os.mkdir() (see 
https://docs.python.org/3.6/library/os.html#os.mkdir ) reports only 
FileExistsError exception if directory exists. Please, add other exceptions 
(e.g. FileNotFoundError if directory is created in a non existent path) or 
report OSError as superclass of exceptions returned from this method

----------
assignee: docs@python
components: Documentation
messages: 296097
nosy: docs@python, ebianchi
priority: normal
severity: normal
status: open
title: Enhance documentation of os.mkdir()
type: enhancement
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30677>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to