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

Method read

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

Source from the content-addressed store, hash-verified

456
457 @classmethod
458 def read(cls, data: ReadBuffer) -> TypeAliasType:
459 alias = TypeAliasType(None, read_type_list(data))
460 alias.type_ref = read_str(data)
461 assert read_tag(data) == END_TAG
462 return alias
463
464
465class TypeGuardedType(Type):

Callers

nothing calls this directly

Calls 3

read_strFunction · 0.90
TypeAliasTypeClass · 0.85
read_type_listFunction · 0.85

Tested by

no test coverage detected