MCPcopy 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
42class DirBrowserTreeItem(TreeItem):

Callers 1

Calls 2

DirBrowserTreeItemClass · 0.85
appendMethod · 0.45

Tested by 1