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

Method read

mypy/nodes.py:3391–3403  ·  view source on GitHub ↗
(cls, data: ReadBuffer)

Source from the content-addressed store, hash-verified

3389
3390 @classmethod
3391 def read(cls, data: ReadBuffer) -> TypeVarTupleExpr:
3392 assert read_tag(data) == mypy.types.INSTANCE
3393 fallback = mypy.types.Instance.read(data)
3394 ret = TypeVarTupleExpr(
3395 read_str(data),
3396 read_str(data),
3397 mypy.types.read_type(data),
3398 fallback,
3399 mypy.types.read_type(data),
3400 read_int(data),
3401 )
3402 assert read_tag(data) == END_TAG
3403 return ret
3404
3405
3406class TypeAliasExpr(Expression):

Callers

nothing calls this directly

Calls 4

read_strFunction · 0.90
read_intFunction · 0.90
TypeVarTupleExprClass · 0.85
readMethod · 0.45

Tested by

no test coverage detected