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

Method _IsExpandable

Lib/idlelib/tree.py:360–364  ·  view source on GitHub ↗

Do not override! Called by TreeNode.

(self)

Source from the content-addressed store, hash-verified

358 expandable = None
359
360 def _IsExpandable(self):
361 """Do not override! Called by TreeNode."""
362 if self.expandable is None:
363 self.expandable = self.IsExpandable()
364 return self.expandable
365
366 def IsExpandable(self):
367 """Return whether there are subitems."""

Callers 2

expandMethod · 0.80
drawMethod · 0.80

Calls 1

IsExpandableMethod · 0.95

Tested by

no test coverage detected