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

Function _source_unavailable

Lib/linecache.py:64–71  ·  view source on GitHub ↗

Return True if the source code is unavailable for such file name.

(filename)

Source from the content-addressed store, hash-verified

62
63
64def _source_unavailable(filename):
65 """Return True if the source code is unavailable for such file name."""
66 return (
67 not filename
68 or (filename.startswith('<')
69 and filename.endswith('>')
70 and not filename.startswith('<frozen '))
71 )
72
73
74def checkcache(filename=None):

Callers 1

updatecacheFunction · 0.85

Calls 2

startswithMethod · 0.45
endswithMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…