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

Function read_str_opt_list

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

Source from the content-addressed store, hash-verified

466
467
468def read_str_opt_list(data: ReadBuffer) -> list[str | None]:
469 assert read_tag(data) == LIST_GEN
470 size = read_int_bare(data)
471 return [read_str_opt(data) for _ in range(size)]
472
473
474def write_str_opt_list(data: WriteBuffer, value: list[str | None]) -> None:

Callers 3

readMethod · 0.90
readMethod · 0.90
readMethod · 0.90

Calls 2

read_str_optFunction · 0.85
rangeClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…