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

Method missing_node

mypy/inspections.py:470–473  ·  view source on GitHub ↗
(self, expression: Expression)

Source from the content-addressed store, hash-verified

468 )
469
470 def missing_node(self, expression: Expression) -> str:
471 return (
472 f'Cannot find definition for "{type(expression).__name__}" at {expr_span(expression)}'
473 )
474
475 def add_prefixes(self, result: str, expression: Expression) -> str:
476 prefixes = []

Callers 1

expression_defMethod · 0.95

Calls 2

typeClass · 0.85
expr_spanFunction · 0.85

Tested by

no test coverage detected