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

Function join_types

mypy/join.py:208–210  ·  view source on GitHub ↗
(
    s: ProperType, t: ProperType, instance_joiner: InstanceJoiner | None = None
)

Source from the content-addressed store, hash-verified

206
207@overload
208def join_types(
209 s: ProperType, t: ProperType, instance_joiner: InstanceJoiner | None = None
210) -> ProperType: ...
211
212
213@overload

Callers 15

visit_class_patternMethod · 0.90
visit_parametersMethod · 0.90
assert_simple_joinMethod · 0.90
join_instancesMethod · 0.85
visit_type_varMethod · 0.85
visit_instanceMethod · 0.85
visit_callable_typeMethod · 0.85

Calls 6

get_proper_typeFunction · 0.90
trivial_joinFunction · 0.85
isinstanceFunction · 0.85
normalize_callablesFunction · 0.85
TypeJoinVisitorClass · 0.85
acceptMethod · 0.45

Tested by 3

assert_simple_joinMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…