MCPcopy Index your code
hub / github.com/pex-tool/pex / parse

Method parse

pex/sysconfig.py:193–195  ·  view source on GitHub ↗
(cls, value)

Source from the content-addressed store, hash-verified

191
192 @classmethod
193 def parse(cls, value):
194 # type: (str) -> SysPlatform.Value
195 return cls.CURRENT if "current" == value else cls.for_value(value)
196
197
198SysPlatform.seal()

Callers

nothing calls this directly

Calls 1

for_valueMethod · 0.45

Tested by

no test coverage detected