[Python-checkins] cpython (3.3): Fix name of the "exist_ok" argument. Found by Neil Bushong on docs at .

georg.brandl python-checkins at python.org
Sun Oct 6 19:26:35 CEST 2013


http://hg.python.org/cpython/rev/7caae256dff6
changeset:   86128:7caae256dff6
branch:      3.3
parent:      86126:66ef63a77e9d
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 06 19:27:13 2013 +0200
summary:
  Fix name of the "exist_ok" argument. Found by Neil Bushong on docs at .

files:
  Doc/library/os.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1557,8 +1557,8 @@
    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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list