MCPcopy Index your code
hub / github.com/python/mypy / ModuleNotFound

Class ModuleNotFound

mypy/build.py:2582–2586  ·  view source on GitHub ↗

Control flow exception to signal that a module was not found.

Source from the content-addressed store, hash-verified

2580
2581
2582class ModuleNotFound(Exception):
2583 """Control flow exception to signal that a module was not found."""
2584
2585 def __init__(self, reason: int = SuppressionReason.NOT_FOUND) -> None:
2586 self.reason = reason
2587
2588
2589@final

Callers 1

find_module_and_diagnoseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…