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

Method read

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

Source from the content-addressed store, hash-verified

2851
2852 @classmethod
2853 def read(cls, data: ReadBuffer) -> TupleType:
2854 assert read_tag(data) == INSTANCE
2855 fallback = Instance.read(data)
2856 ret = TupleType(read_type_list(data), fallback, implicit=read_bool(data))
2857 assert read_tag(data) == END_TAG
2858 return ret
2859
2860 def copy_modified(
2861 self, *, fallback: Instance | None = None, items: list[Type] | None = None

Callers

nothing calls this directly

Calls 3

TupleTypeClass · 0.85
read_type_listFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected