MCPcopy Create free account
hub / github.com/numpy/numpy / _preserve_environment

Function _preserve_environment

numpy/distutils/exec_command.py:167–170  ·  view source on GitHub ↗
( names )

Source from the content-addressed store, hash-verified

165############################################################
166
167def _preserve_environment( names ):
168 log.debug('_preserve_environment(%r)' % (names))
169 env = {name: os.environ.get(name) for name in names}
170 return env
171
172def _update_environment( **env ):
173 log.debug('_update_environment(...)')

Callers 1

exec_commandFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected