Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ linecache_get_line
Method
linecache_get_line
Lib/test/test_linecache.py:415–419 ·
view source on GitHub ↗
(b)
Source
from the content-addressed store, hash-verified
413
filenames.append(name)
414
415
def
linecache_get_line(b):
416
b.wait()
417
for
_ in range(100):
418
for
name in filenames:
419
linecache.getline(name, 1)
420
421
def
check(funcs):
422
barrier = threading.Barrier(len(funcs))
Callers
nothing calls this directly
Calls
2
wait
Method · 0.45
getline
Method · 0.45
Tested by
no test coverage detected