MCPcopy Create free account
hub / github.com/nodejs/node / process_env_var

Function process_env_var

tools/gyp/pylib/packaging/_parser.py:326–333  ·  view source on GitHub ↗
(env_var: str)

Source from the content-addressed store, hash-verified

324
325
326def process_env_var(env_var: str) -> Variable:
327 if (
328 env_var == "platform_python_implementation"
329 or env_var == "python_implementation"
330 ):
331 return Variable("platform_python_implementation")
332 else:
333 return Variable(env_var)
334
335
336def process_python_str(python_str: str) -> Value:

Callers 1

_parse_marker_varFunction · 0.85

Calls 1

VariableClass · 0.70

Tested by

no test coverage detected