Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
97
def
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_environ
Function · 0.85
Calls
2
splitlines
Method · 0.45
split
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…