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 8724a2a commit d3304e3Copy full SHA for d3304e3
1 file changed
Doc/library/os.rst
@@ -1624,8 +1624,8 @@ features:
1624
Create a directory named *path* with numeric mode *mode*.
1625
1626
On some systems, *mode* is ignored. Where it is used, the current umask
1627
- value is first masked out. If the directory already exists, :exc:`OSError`
1628
- is raised.
+ value is first masked out. If the directory already exists,
+ :exc:`FileExistsError` is raised.
1629
1630
This function can also support :ref:`paths relative to directory descriptors
1631
<dir_fd>`.
0 commit comments