[docs] [issue30677] Enhance documentation of os.mkdir()

Enrico Bianchi report at bugs.python.org
Thu Jun 15 10:08:58 EDT 2017


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 at python
components: Documentation
messages: 296097
nosy: docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue30677>
_______________________________________


More information about the docs mailing list