MCPcopy 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
22def 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_5Method · 0.85
test_6Method · 0.85
test_7Method · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…