Thanks to visit codestin.com Credit goes to github.com
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 3dcc396 commit 879fbd9Copy full SHA for 879fbd9
1 file changed
Doc/library/os.rst
@@ -2050,7 +2050,8 @@ features:
2050
2051
Create a directory named *path* with numeric mode *mode*.
2052
2053
- If the directory already exists, :exc:`FileExistsError` is raised.
+ If the directory already exists, :exc:`FileExistsError` is raised. If a parent
2054
+ directory in the path does not exist, :exc:`FileNotFoundError` is raised.
2055
2056
.. _mkdir_modebits:
2057
0 commit comments