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

Function print_env

Android/android.py:138–140  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

136
137# Format the environment so it can be pasted into a shell.
138def print_env(env):
139 for key, value in sorted(env.items()):
140 print(f"export {key}={shlex.quote(value)}")
141
142
143def android_env(host):

Callers 2

runFunction · 0.70
envFunction · 0.70

Calls 2

quoteMethod · 0.80
itemsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…