Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d82a47c

Browse files
committed
Merged revisions 86892 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 3d9ab4d commit d82a47c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ Files and Directories
10211021
single: UNC paths; and os.makedirs()
10221022

10231023
Recursive directory creation function. Like :func:`mkdir`, but makes all
1024-
intermediate-level directories needed to contain the leaf directory. Throws
1024+
intermediate-level directories needed to contain the leaf directory. Raises
10251025
an :exc:`error` exception if the leaf directory already exists or cannot be
10261026
created. The default *mode* is ``0o777`` (octal). On some systems, *mode*
10271027
is ignored. Where it is used, the current umask value is first masked out.

Doc/library/parser.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function for information about the exceptions it can raise.
269269
will only need to be aware of the simple string values.
270270

271271
Note that the functions :func:`compilest`, :func:`expr`, and :func:`suite` may
272-
raise exceptions which are normally thrown by the parsing and compilation
272+
raise exceptions which are normally raised by the parsing and compilation
273273
process. These include the built in exceptions :exc:`MemoryError`,
274274
:exc:`OverflowError`, :exc:`SyntaxError`, and :exc:`SystemError`. In these
275275
cases, these exceptions carry all the meaning normally associated with them.

0 commit comments

Comments
 (0)