Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ fixdir
Function
fixdir
Lib/test/test_pkg.py:22–27 ·
view source on GitHub ↗
(lst)
Source
from the content-addressed store, hash-verified
20
os.rmdir(root)
21
22
def
fixdir(lst):
23
if
"__builtins__"
in lst:
24
lst.remove(
"__builtins__"
)
25
if
"__initializing__"
in lst:
26
lst.remove(
"__initializing__"
)
27
return
lst
28
29
30
# XXX Things to test
Callers
3
test_5
Method · 0.85
test_6
Method · 0.85
test_7
Method · 0.85
Calls
1
remove
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…