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

Function makepath

Lib/site.py:106–112  ·  view source on GitHub ↗
(*paths)

Source from the content-addressed store, hash-verified

104
105
106def makepath(*paths):
107 dir = os.path.join(*paths)
108 try:
109 dir = os.path.abspath(dir)
110 except OSError:
111 pass
112 return dir, os.path.normcase(dir)
113
114
115def abs_paths():

Callers 4

removeduppathsFunction · 0.85
_init_pathinfoFunction · 0.85
addpackageFunction · 0.85
addsitedirFunction · 0.85

Calls 3

normcaseMethod · 0.80
joinMethod · 0.45
abspathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…