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

Function parse_ignore_dir

Lib/trace.py:679–682  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

677 _exec_prefix = sysconfig.get_path("platstdlib")
678
679 def parse_ignore_dir(s):
680 s = os.path.expanduser(os.path.expandvars(s))
681 s = s.replace('$prefix', _prefix).replace('$exec_prefix', _exec_prefix)
682 return os.path.normpath(s)
683
684 opts.ignore_module = [mod.strip()
685 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…