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

Function read_errors

mypy/cache.py:576–593  ·  view source on GitHub ↗
(data: ReadBuffer)

Source from the content-addressed store, hash-verified

574
575
576def read_errors(data: ReadBuffer) -> list[ErrorTuple]:
577 assert read_tag(data) == LIST_GEN
578 result = []
579 for _ in range(read_int_bare(data)):
580 assert read_tag(data) == TUPLE_GEN
581 result.append(
582 (
583 read_str_opt(data),
584 read_int(data),
585 read_int(data),
586 read_int(data),
587 read_int(data),
588 read_str(data),
589 read_str(data),
590 read_str_opt(data),
591 )
592 )
593 return result

Callers 1

readMethod · 0.85

Calls 5

rangeClass · 0.85
read_str_optFunction · 0.85
read_intFunction · 0.85
read_strFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…