From: Georg Brandl Date: Sun, 6 Oct 2013 17:27:13 +0000 (+0200) Subject: Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@. X-Git-Tag: v3.4.0a4~221^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=136a050bf3636b282c4c0c96bd177992425dfef1;p=python Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index ad7f98fa5a..cc1668c263 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1557,8 +1557,8 @@ features: The default *mode* is ``0o777`` (octal). On some systems, *mode* is 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 - 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 :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 also be raised if the directory creation fails.