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

Method read

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

Source from the content-addressed store, hash-verified

742
743 @classmethod
744 def read(cls, data: ReadBuffer) -> TypeVarType:
745 ret = TypeVarType(
746 read_str(data),
747 read_str(data),
748 TypeVarId(read_int(data), namespace=read_str(data)),
749 read_type_list(data),
750 read_type(data),
751 read_type(data),
752 read_int(data),
753 )
754 assert read_tag(data) == END_TAG
755 return ret
756
757
758class ParamSpecFlavor:

Callers

nothing calls this directly

Calls 6

read_strFunction · 0.90
read_intFunction · 0.90
TypeVarTypeClass · 0.85
TypeVarIdClass · 0.85
read_type_listFunction · 0.85
read_typeFunction · 0.70

Tested by

no test coverage detected