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

Function expand_variables

mypy/test/data.py:535–536  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

533
534
535def expand_variables(s: str) -> str:
536 return s.replace("<ROOT>", root_dir)
537
538
539def expand_errors(input: list[str], output: list[str], fnam: str) -> None:

Callers 1

parse_test_caseFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…