diff options
author | Éric Araujo <merwok@netwok.org> | 2010-11-30 17:53:45 +0000 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-11-30 17:53:45 +0000 |
commit | 9235e4c0d27d6f03797299a221417db740ffe2bb (patch) | |
tree | 41fe42565851401a0ac0df46fc1ac72ec17dffe7 /Doc/library/os.rst | |
parent | 589992706932a46c51916d34d7a54df67c5391d6 (diff) | |
download | cpython-9235e4c0d27d6f03797299a221417db740ffe2bb.tar.gz |
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 194a0c4d76..7378d2e5aa 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1191,7 +1191,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 an + 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 ``0777`` (octal). On some systems, *mode* is ignored. Where it is used, the current umask value is first masked out. |