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

Function is_standalone

Tools/c-analyzer/c_common/scriptutil.py:74–76  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

72
73
74def is_standalone(filename):
75 filename = os.path.abspath(os.path.normalize(filename))
76 return _is_standalone(filename)
77
78
79def _is_standalone(filename):

Callers

nothing calls this directly

Calls 3

_is_standaloneFunction · 0.85
abspathMethod · 0.45
normalizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…