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

Function expand_type

mypy/expandtype.py:55–55  ·  view source on GitHub ↗
(typ: CallableType, env: Mapping[TypeVarId, Type])

Source from the content-addressed store, hash-verified

53
54@overload
55def expand_type(typ: CallableType, env: Mapping[TypeVarId, Type]) -> CallableType: ...
56
57
58@overload

Callers 15

expand_typevarsMethod · 0.90
typeMethod · 0.90
expand_callable_variantsFunction · 0.90
overload_can_never_matchFunction · 0.90
solve_iterativelyFunction · 0.90
visit_index_with_typeMethod · 0.90
visit_tuple_exprMethod · 0.90
bind_selfFunction · 0.90
map_items_to_baseMethod · 0.90

Calls 2

ExpandTypeVisitorClass · 0.85
acceptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…