mirror of https://github.com/python/cpython.git
Added DistutilsInternalError.
This commit is contained in:
parent
e1664bdc59
commit
318a9d7aa2
|
@ -68,6 +68,11 @@ class DistutilsPlatformError (DistutilsError):
|
||||||
class DistutilsExecError (DistutilsError):
|
class DistutilsExecError (DistutilsError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# DistutilsInternalError is raised on internal inconsistencies
|
||||||
|
# or impossibilities
|
||||||
|
class DistutilsInternalError (DistutilsError):
|
||||||
|
pass
|
||||||
|
|
||||||
# String-based exceptions
|
# String-based exceptions
|
||||||
else:
|
else:
|
||||||
DistutilsError = 'DistutilsError'
|
DistutilsError = 'DistutilsError'
|
||||||
|
@ -80,5 +85,6 @@ class DistutilsExecError (DistutilsError):
|
||||||
DistutilsValueError = 'DistutilsValueError'
|
DistutilsValueError = 'DistutilsValueError'
|
||||||
DistutilsPlatformError = 'DistutilsPlatformError'
|
DistutilsPlatformError = 'DistutilsPlatformError'
|
||||||
DistutilsExecError = 'DistutilsExecError'
|
DistutilsExecError = 'DistutilsExecError'
|
||||||
|
DistutilsInternalError = 'DistutilsInternalError'
|
||||||
|
|
||||||
del types
|
del types
|
||||||
|
|
Loading…
Reference in New Issue