Commit 771dea77 authored by Antoine Pitrou's avatar Antoine Pitrou

Replace a mention of EnvironmentError in the distutils docs.

parent 23a580fd
...@@ -1162,12 +1162,11 @@ other utility module. ...@@ -1162,12 +1162,11 @@ other utility module.
.. function:: grok_environment_error(exc[, prefix='error: ']) .. function:: grok_environment_error(exc[, prefix='error: '])
Generate a useful error message from an :exc:`EnvironmentError` (:exc:`IOError` Generate a useful error message from an :exc:`OSError` exception object.
or :exc:`OSError`) exception object. Handles Python 1.5.1 and later styles, Handles Python 1.5.1 and later styles, and does what it can to deal with
and does what it can to deal with exception objects that don't have a filename exception objects that don't have a filename (which happens when the error
(which happens when the error is due to a two-file operation, such as is due to a two-file operation, such as :func:`rename` or :func:`link`).
:func:`rename` or :func:`link`). Returns the error message as a string Returns the error message as a string prefixed with *prefix*.
prefixed with *prefix*.
.. function:: split_quoted(s) .. function:: split_quoted(s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment