MCPcopy
hub / github.com/pex-tool/pex / _normalize_platform

Function _normalize_platform

pex/platforms.py:22–24  ·  view source on GitHub ↗
(platform)

Source from the content-addressed store, hash-verified

20
21
22def _normalize_platform(platform):
23 # type: (str) -> str
24 return platform.lower().replace("-", "_").replace(".", "_")
25
26
27@attr.s(frozen=True)

Callers

nothing calls this directly

Calls 1

lowerMethod · 0.80

Tested by

no test coverage detected