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

Method _GetSubList

Lib/idlelib/tree.py:370–377  ·  view source on GitHub ↗

Do not override! Called by TreeNode.

(self)

Source from the content-addressed store, hash-verified

368 return 1
369
370 def _GetSubList(self):
371 """Do not override! Called by TreeNode."""
372 if not self.IsExpandable():
373 return []
374 sublist = self.GetSubList()
375 if not sublist:
376 self.expandable = 0
377 return sublist
378
379 def IsEditable(self):
380 """Return whether the item's text may be edited."""

Callers 1

drawMethod · 0.45

Calls 2

IsExpandableMethod · 0.95
GetSubListMethod · 0.95

Tested by

no test coverage detected