MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / parse_ignore_dir

Function parse_ignore_dir

tools/python-3.11.9-amd64/Lib/trace.py:668–671  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

666 _exec_prefix = sysconfig.get_path("platstdlib")
667
668 def parse_ignore_dir(s):
669 s = os.path.expanduser(os.path.expandvars(s))
670 s = s.replace('$prefix', _prefix).replace('$exec_prefix', _exec_prefix)
671 return os.path.normpath(s)
672
673 opts.ignore_module = [mod.strip()
674 for i in opts.ignore_module for mod in i.split(',')]

Callers 1

mainFunction · 0.85

Calls 2

expanduserMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected