]> granicus.if.org Git - python/commitdiff
Replace a mention of EnvironmentError in the distutils docs.
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 16:35:18 +0000 (18:35 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 16:35:18 +0000 (18:35 +0200)
Doc/distutils/apiref.rst

index 407b80d19caf4e37ea0be82a6e41f25b43793f1e..091cba16e1293dc4963f11cca6bf283b56148d40 100644 (file)
@@ -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)