diff options
author | Éric Araujo <merwok@netwok.org> | 2010-11-30 17:20:31 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-11-30 17:20:31 (GMT) |
commit | ff2a4ba78ce724032808ebf3e4c006b831980e7d (patch) | |
tree | 982fb7202acdcaef29bb197130484ab56a5ed9d1 /Doc/library/os.rst | |
parent | 827fdaae30e4ee10d86a7679d7fa1c8863235ba1 (diff) | |
download | cpython-ff2a4ba78ce724032808ebf3e4c006b831980e7d.zip cpython-ff2a4ba78ce724032808ebf3e4c006b831980e7d.tar.gz cpython-ff2a4ba78ce724032808ebf3e4c006b831980e7d.tar.bz2 |
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 b2c439c..f3aad19 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1150,7 +1150,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. |