Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.

This commit is contained in:
Georg Brandl 2013-10-06 19:27:13 +02:00
parent 9ad417ee81
commit 136a050bf3
1 changed files with 2 additions and 2 deletions

View File

@ -1557,8 +1557,8 @@ features:
The default *mode* is ``0o777`` (octal). On some systems, *mode* is The default *mode* is ``0o777`` (octal). On some systems, *mode* is
ignored. Where it is used, the current umask value is first masked out. ignored. Where it is used, the current umask value is first masked out.
If *exists_ok* is ``False`` (the default), an :exc:`OSError` is raised if If *exist_ok* is ``False`` (the default), an :exc:`OSError` is raised if
the target directory already exists. If *exists_ok* is ``True`` an the target directory already exists. If *exist_ok* is ``True`` an
:exc:`OSError` is still raised if the umask-masked *mode* is different from :exc:`OSError` is still raised if the umask-masked *mode* is different from
the existing mode, on systems where the mode is used. :exc:`OSError` will the existing mode, on systems where the mode is used. :exc:`OSError` will
also be raised if the directory creation fails. also be raised if the directory creation fails.