Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
535
def
expand_variables(s: str) -> str:
536
return
s.replace(
"<ROOT>"
, root_dir)
537
538
539
def
expand_errors(input: list[str], output: list[str], fnam: str) -> None:
Callers
1
parse_test_case
Function · 0.85
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…