File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
271271Note 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
273273process. These include the built in exceptions :exc: `MemoryError `,
274274:exc: `OverflowError `, :exc: `SyntaxError `, and :exc: `SystemError `. In these
275275cases, these exceptions carry all the meaning normally associated with them.
You can’t perform that action at this time.
0 commit comments