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

Method expand

Lib/idlelib/tree.py:153–159  ·  view source on GitHub ↗
(self, event=None)

Source from the content-addressed store, hash-verified

151 return "break"
152
153 def expand(self, event=None):
154 if not self.item._IsExpandable():
155 return
156 if self.state != 'expanded':
157 self.state = 'expanded'
158 self.update()
159 self.view()
160
161 def collapse(self, event=None):
162 if self.state != 'collapsed':

Callers 9

remote_stack_viewerMethod · 0.95
flipMethod · 0.95
_tree_widgetFunction · 0.95
StackBrowserFunction · 0.95
initMethod · 0.95
test_initMethod · 0.95
_replace_expandMethod · 0.45

Calls 3

updateMethod · 0.95
viewMethod · 0.95
_IsExpandableMethod · 0.80

Tested by 3

test_initMethod · 0.76