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

Method accept

mypy/types.py:298–299  ·  view source on GitHub ↗
(self, visitor: TypeVisitor[T])

Source from the content-addressed store, hash-verified

296 return True
297
298 def accept(self, visitor: TypeVisitor[T]) -> T:
299 raise RuntimeError("Not implemented", type(self))
300
301 def __repr__(self) -> str:
302 return self.accept(TypeStrVisitor(options=Options()))

Callers 15

__repr__Method · 0.95
str_with_optionsMethod · 0.95
_expand_onceMethod · 0.45
is_recursiveMethod · 0.45
acceptMethod · 0.45
acceptMethod · 0.45
acceptMethod · 0.45
visit_instanceMethod · 0.45
visit_type_varMethod · 0.45
visit_param_specMethod · 0.45
visit_parametersMethod · 0.45

Calls 2

RuntimeErrorClass · 0.85
typeClass · 0.85

Tested by

no test coverage detected