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

Method current_module

mypy/errors.py:583–584  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

581 return self.target_module
582
583 def current_module(self) -> str | None:
584 return self.target_module
585
586 def import_context(self) -> list[tuple[str, int]]:
587 """Return a copy of the import context."""

Callers 2

reportMethod · 0.95
report_simple_errorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected