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

Function get_path

Lib/sysconfig/__init__.py:496–501  ·  view source on GitHub ↗

Return a path corresponding to the scheme. ``scheme`` is the install scheme name.

(name, scheme=get_default_scheme(), vars=None, expand=True)

Source from the content-addressed store, hash-verified

494
495
496def get_path(name, scheme=get_default_scheme(), vars=None, expand=True):
497 """Return a path corresponding to the scheme.
498
499 ``scheme`` is the install scheme name.
500 """
501 return get_paths(scheme, vars, expand)[name]
502
503
504def _init_config_vars():

Callers 5

test_get_pathMethod · 0.90
test_user_similarMethod · 0.90
get_makefile_filenameFunction · 0.85
_init_non_posixFunction · 0.85
get_config_h_filenameFunction · 0.85

Calls 2

get_default_schemeFunction · 0.85
get_pathsFunction · 0.85

Tested by 2

test_get_pathMethod · 0.72
test_user_similarMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…