We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c682840 commit 0710edbCopy full SHA for 0710edb
Doc/library/os.rst
@@ -2041,7 +2041,8 @@ features:
2041
2042
Create a directory named *path* with numeric mode *mode*.
2043
2044
- If the directory already exists, :exc:`FileExistsError` is raised.
+ If the directory already exists, :exc:`FileExistsError` is raised. If a parent
2045
+ directory in the path does not exist, :exc:`FileNotFoundError` is raised.
2046
2047
.. _mkdir_modebits:
2048
0 commit comments