Mercurial > cpython-lru_cache-weakref
diff Lib/distutils/errors.py @ 12157:be2f003d47cc legacy-trunk
Added DistutilsInternalError.
| author | Greg Ward <gward@python.net> |
|---|---|
| date | Fri, 31 Mar 2000 02:57:31 +0000 |
| parents | 017e592c0fd2 |
| children | 01cff9fe2d45 |
line wrap: on
line diff
--- a/Lib/distutils/errors.py Fri Mar 31 02:56:34 2000 +0000 +++ b/Lib/distutils/errors.py Fri Mar 31 02:57:31 2000 +0000 @@ -68,6 +68,11 @@ class DistutilsExecError (DistutilsError): pass + # DistutilsInternalError is raised on internal inconsistencies + # or impossibilities + class DistutilsInternalError (DistutilsError): + pass + # String-based exceptions else: DistutilsError = 'DistutilsError' @@ -80,5 +85,6 @@ DistutilsValueError = 'DistutilsValueError' DistutilsPlatformError = 'DistutilsPlatformError' DistutilsExecError = 'DistutilsExecError' + DistutilsInternalError = 'DistutilsInternalError' del types
