MCPcopy Index your code
hub / github.com/python/cpython / rootnode

Method rootnode

Lib/idlelib/browser.py:139–141  ·  view source on GitHub ↗

Return a ModuleBrowserTreeItem as the root of the tree.

(self)

Source from the content-addressed store, hash-verified

137 self.top.wm_iconname("Module Browser")
138
139 def rootnode(self):
140 "Return a ModuleBrowserTreeItem as the root of the tree."
141 return ModuleBrowserTreeItem(self.path)
142
143
144class ModuleBrowserTreeItem(TreeItem):

Callers 3

initMethod · 0.95
test_rootnodeMethod · 0.45
test_rootnodeMethod · 0.45

Calls 1

Tested by 2

test_rootnodeMethod · 0.36
test_rootnodeMethod · 0.36