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

Function write_str_opt_list

mypy/cache.py:474–478  ·  view source on GitHub ↗
(data: WriteBuffer, value: list[str | None])

Source from the content-addressed store, hash-verified

472
473
474def write_str_opt_list(data: WriteBuffer, value: list[str | None]) -> None:
475 write_tag(data, LIST_GEN)
476 write_int_bare(data, len(value))
477 for item in value:
478 write_str_opt(data, item)
479
480
481Value: _TypeAlias = None | int | str | bool

Callers 3

writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90

Calls 2

lenFunction · 0.85
write_str_optFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…