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 9ad417e commit 136a050Copy full SHA for 136a050
1 file changed
Doc/library/os.rst
@@ -1557,8 +1557,8 @@ features:
1557
The default *mode* is ``0o777`` (octal). On some systems, *mode* is
1558
ignored. Where it is used, the current umask value is first masked out.
1559
1560
- If *exists_ok* is ``False`` (the default), an :exc:`OSError` is raised if
1561
- the target directory already exists. If *exists_ok* is ``True`` an
+ If *exist_ok* is ``False`` (the default), an :exc:`OSError` is raised if
+ the target directory already exists. If *exist_ok* is ``True`` an
1562
:exc:`OSError` is still raised if the umask-masked *mode* is different from
1563
the existing mode, on systems where the mode is used. :exc:`OSError` will
1564
also be raised if the directory creation fails.
0 commit comments