661e39c8d5
Avoids inspecting the exception message, which is not considered a stable API and can change across Python versions. ModuleNotFoundError was introduced in Python 3.6. It is a subclass of ImportError that is raised when the imported module does not exist. It is not raised for other errors that can occur during an import. This exception instance has the property "name" which holds the name of module that failed to import. |
||
---|---|---|
.. | ||
operations | ||
__init__.py | ||
autodetector.py | ||
exceptions.py | ||
executor.py | ||
graph.py | ||
loader.py | ||
migration.py | ||
optimizer.py | ||
questioner.py | ||
recorder.py | ||
serializer.py | ||
state.py | ||
utils.py | ||
writer.py |