mirror of https://github.com/python/cpython
Replace a mention of EnvironmentError in the distutils docs.
This commit is contained in:
parent
23a580fd78
commit
771dea7755
|
@ -1162,12 +1162,11 @@ other utility module.
|
|||
|
||||
.. function:: grok_environment_error(exc[, prefix='error: '])
|
||||
|
||||
Generate a useful error message from an :exc:`EnvironmentError` (:exc:`IOError`
|
||||
or :exc:`OSError`) exception object. Handles Python 1.5.1 and later styles,
|
||||
and does what it can to deal with exception objects that don't have a filename
|
||||
(which happens when the error is due to a two-file operation, such as
|
||||
:func:`rename` or :func:`link`). Returns the error message as a string
|
||||
prefixed with *prefix*.
|
||||
Generate a useful error message from an :exc:`OSError` exception object.
|
||||
Handles Python 1.5.1 and later styles, and does what it can to deal with
|
||||
exception objects that don't have a filename (which happens when the error
|
||||
is due to a two-file operation, such as :func:`rename` or :func:`link`).
|
||||
Returns the error message as a string prefixed with *prefix*.
|
||||
|
||||
|
||||
.. function:: split_quoted(s)
|
||||
|
|
Loading…
Reference in New Issue