Skip to content

Commit 136a050

Browse files
committed
Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.
1 parent 9ad417e commit 136a050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,8 +1557,8 @@ features:
15571557
The default *mode* is ``0o777`` (octal). On some systems, *mode* is
15581558
ignored. Where it is used, the current umask value is first masked out.
15591559

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
1560+
If *exist_ok* is ``False`` (the default), an :exc:`OSError` is raised if
1561+
the target directory already exists. If *exist_ok* is ``True`` an
15621562
:exc:`OSError` is still raised if the umask-masked *mode* is different from
15631563
the existing mode, on systems where the mode is used. :exc:`OSError` will
15641564
also be raised if the directory creation fails.

0 commit comments

Comments
 (0)