MCPcopy
hub / github.com/pex-tool/pex / stash_pythonpath

Method stash_pythonpath

pex/pex.py:363–368  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

361
362 @classmethod
363 def stash_pythonpath(cls):
364 # type: () -> Optional[str]
365 pythonpath = os.environ.pop(cls._PYTHONPATH, None)
366 if pythonpath is not None:
367 os.environ[cls._STASHED_PYTHONPATH] = pythonpath
368 return pythonpath
369
370 @classmethod
371 def unstash_pythonpath(cls):

Callers 1

maybe_reexec_pexFunction · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected