diff options
author | Éric Araujo <merwok@netwok.org> | 2010-11-30 17:38:32 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-11-30 17:38:32 (GMT) |
commit | d82a47ca26fad8babcf37c7b025b4fba4740f859 (patch) | |
tree | 825e961e0f730e752d94c34d12784c3d6f921d44 /Doc/library/os.rst | |
parent | 3d9ab4d793ce720d5f2ad940d7ad04a22ae3e7a3 (diff) | |
download | cpython-d82a47ca26fad8babcf37c7b025b4fba4740f859.zip cpython-d82a47ca26fad8babcf37c7b025b4fba4740f859.tar.gz cpython-d82a47ca26fad8babcf37c7b025b4fba4740f859.tar.bz2 |
Merged revisions 86892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86892 | eric.araujo | 2010-11-30 18:20:31 +0100 (mar., 30 nov. 2010) | 2 lines
Let’s keep “throw” for the generator method and use “raise” elsewhere.
........
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 910291f..d5aa6fe 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1021,7 +1021,7 @@ Files and Directories single: UNC paths; and os.makedirs() Recursive directory creation function. Like :func:`mkdir`, but makes all - intermediate-level directories needed to contain the leaf directory. Throws + intermediate-level directories needed to contain the leaf directory. Raises an :exc:`error` exception if the leaf directory already exists or cannot be created. The default *mode* is ``0o777`` (octal). On some systems, *mode* is ignored. Where it is used, the current umask value is first masked out. |