mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
merge with 3.3
This commit is contained in:
commit
aca718e9f1
1 changed files with 2 additions and 2 deletions
|
|
@ -1612,8 +1612,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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue