MCPcopy Create free account
hub / github.com/python/mypy / meet

Method meet

mypy/meet.py:1158–1159  ·  view source on GitHub ↗
(self, s: Type, t: Type)

Source from the content-addressed store, hash-verified

1156 assert False, f"This should be never called, got {t}"
1157
1158 def meet(self, s: Type, t: Type) -> ProperType:
1159 return meet_types(s, t)
1160
1161 def default(self, typ: Type) -> ProperType:
1162 if isinstance(typ, UnboundType):

Callers 4

visit_type_varMethod · 0.95
visit_instanceMethod · 0.95
meet_tuplesMethod · 0.95
visit_type_typeMethod · 0.95

Calls 1

meet_typesFunction · 0.85

Tested by

no test coverage detected