MCPcopy Index your code
hub / github.com/python/cpython / parse_env

Function parse_env

Platforms/emscripten/__main__.py:97–102  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

95
96
97def parse_env(text):
98 result = {}
99 for line in text.splitlines():
100 key, val = line.split("=", 1)
101 result[key] = val
102 return result
103
104
105@functools.cache

Callers 1

get_emsdk_environFunction · 0.85

Calls 2

splitlinesMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…