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

Function write_str_opt

mypy/cache.py:421–426  ·  view source on GitHub ↗
(data: WriteBuffer, value: str | None)

Source from the content-addressed store, hash-verified

419
420
421def write_str_opt(data: WriteBuffer, value: str | None) -> None:
422 if value is not None:
423 write_tag(data, LITERAL_STR)
424 write_str_bare(data, value)
425 else:
426 write_tag(data, LITERAL_NONE)
427
428
429def read_int_list(data: ReadBuffer) -> list[int]:

Callers 15

writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
writeMethod · 0.90
write_parse_errorFunction · 0.90
writeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…