File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1162,12 +1162,11 @@ other utility module.
11621162
11631163.. function :: grok_environment_error(exc[, prefix='error: '])
11641164
1165- Generate a useful error message from an :exc: `EnvironmentError ` (:exc: `IOError `
1166- or :exc: `OSError `) exception object. Handles Python 1.5.1 and later styles,
1167- and does what it can to deal with exception objects that don't have a filename
1168- (which happens when the error is due to a two-file operation, such as
1169- :func: `rename ` or :func: `link `). Returns the error message as a string
1170- prefixed with *prefix *.
1165+ Generate a useful error message from an :exc: `OSError ` exception object.
1166+ Handles Python 1.5.1 and later styles, and does what it can to deal with
1167+ exception objects that don't have a filename (which happens when the error
1168+ is due to a two-file operation, such as :func: `rename ` or :func: `link `).
1169+ Returns the error message as a string prefixed with *prefix *.
11711170
11721171
11731172.. function :: split_quoted(s)
You can’t perform that action at this time.
0 commit comments