diff options
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r-- | Objects/exceptions.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 23f6605..79bbb8f 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -710,13 +710,6 @@ ComplexExtendsException(PyExc_Exception, ImportError, "module."); /* - * ModuleNotFoundError extends ImportError - */ - -MiddlingExtendsException(PyExc_ImportError, ModuleNotFoundError, ImportError, - "Module not found."); - -/* * OSError extends Exception */ @@ -2402,7 +2395,6 @@ _PyExc_Init(PyObject *bltinmod) PRE_INIT(SystemExit) PRE_INIT(KeyboardInterrupt) PRE_INIT(ImportError) - PRE_INIT(ModuleNotFoundError) PRE_INIT(OSError) PRE_INIT(EOFError) PRE_INIT(RuntimeError) @@ -2473,7 +2465,6 @@ _PyExc_Init(PyObject *bltinmod) POST_INIT(SystemExit) POST_INIT(KeyboardInterrupt) POST_INIT(ImportError) - POST_INIT(ModuleNotFoundError) POST_INIT(OSError) INIT_ALIAS(EnvironmentError, OSError) INIT_ALIAS(IOError, OSError) |