summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 17:27:13 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 17:27:13 (GMT)
commit136a050bf3636b282c4c0c96bd177992425dfef1 (patch)
tree7d28f46ccf59959152e5bb7edf614facf8ddc5b4 /Doc/library/os.rst
parent9ad417ee816e0ccffe7dfb66142e88fd8091febd (diff)
downloadcpython-136a050bf3636b282c4c0c96bd177992425dfef1.zip
cpython-136a050bf3636b282c4c0c96bd177992425dfef1.tar.gz
cpython-136a050bf3636b282c4c0c96bd177992425dfef1.tar.bz2
Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index ad7f98f..cc1668c 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.