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

Method read

mypy/types.py:2740–2747  ·  view source on GitHub ↗
(cls, data: ReadBuffer)

Source from the content-addressed store, hash-verified

2738
2739 @classmethod
2740 def read(cls, data: ReadBuffer) -> Overloaded:
2741 items = []
2742 assert read_tag(data) == LIST_GEN
2743 for _ in range(read_int_bare(data)):
2744 assert read_tag(data) == CALLABLE_TYPE
2745 items.append(CallableType.read(data))
2746 assert read_tag(data) == END_TAG
2747 return Overloaded(items)
2748
2749
2750class TupleType(ProperType):

Callers

nothing calls this directly

Calls 4

rangeClass · 0.85
OverloadedClass · 0.85
appendMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected