Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ normalize_path_separators
Function
normalize_path_separators
mypy/stubgen.py:1571–1572 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
1569
1570
1571
def
normalize_path_separators(path: str) -> str:
1572
return
path.replace(
"\\"
,
"/"
)
if
sys.platform ==
"win32"
else
path
1573
1574
1575
def
collect_build_targets(
Callers
1
is_blacklisted_path
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…