Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ GetSubList
Method
GetSubList
Lib/idlelib/pathbrowser.py:34–39 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
32
return
"sys.path"
33
34
def
GetSubList(self):
35
sublist = []
36
for
dir in sys.path:
37
item = DirBrowserTreeItem(dir)
38
sublist.append(item)
39
return
sublist
40
41
42
class
DirBrowserTreeItem(TreeItem):
Callers
1
test_PathBrowserTreeItem
Method · 0.95
Calls
2
DirBrowserTreeItem
Class · 0.85
append
Method · 0.45
Tested by
1
test_PathBrowserTreeItem
Method · 0.76