MCPcopy 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
1571def normalize_path_separators(path: str) -> str:
1572 return path.replace("\\", "/") if sys.platform == "win32" else path
1573
1574
1575def collect_build_targets(

Callers 1

is_blacklisted_pathFunction · 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…