[docs] [issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

R. David Murray report at bugs.python.org
Sat Aug 18 18:14:02 CEST 2012


R. David Murray added the comment:
This is much better. But let me try tuning the problem paragraph a bit, since I'm a native English speaker:
 If *exists_ok* is ``False`` (the default), an :exc:`OSError` is raised if
 the target directory already exists. If *exists_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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13498>
_______________________________________


More information about the docs mailing list

AltStyle によって変換されたページ (->オリジナル) /