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

Function get_python_source_dir

Tools/patchcheck/patchcheck.py:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def get_python_source_dir():
10 src_dir = sysconfig.get_config_var('abs_srcdir')
11 if not src_dir:
12 src_dir = sysconfig.get_config_var('srcdir')
13 return os.path.abspath(src_dir)
14
15
16SRCDIR = get_python_source_dir()

Callers 1

patchcheck.pyFile · 0.70

Calls 1

abspathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…