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

Method read

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

Source from the content-addressed store, hash-verified

897
898 @classmethod
899 def read(cls, data: ReadBuffer) -> ParamSpecType:
900 assert read_tag(data) == PARAMETERS
901 prefix = Parameters.read(data)
902 ret = ParamSpecType(
903 read_str(data),
904 read_str(data),
905 TypeVarId(read_int(data), namespace=read_str(data)),
906 read_int(data),
907 read_type(data),
908 read_type(data),
909 prefix=prefix,
910 )
911 assert read_tag(data) == END_TAG
912 return ret
913
914
915class TypeVarTupleType(TypeVarLikeType):

Callers

nothing calls this directly

Calls 6

read_strFunction · 0.90
read_intFunction · 0.90
ParamSpecTypeClass · 0.85
TypeVarIdClass · 0.85
read_typeFunction · 0.70
readMethod · 0.45

Tested by

no test coverage detected