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

Method IsExpandable

Lib/idlelib/tree.py:366–368  ·  view source on GitHub ↗

Return whether there are subitems.

(self)

Source from the content-addressed store, hash-verified

364 return self.expandable
365
366 def IsExpandable(self):
367 """Return whether there are subitems."""
368 return 1
369
370 def _GetSubList(self):
371 """Do not override! Called by TreeNode."""

Callers 6

_IsExpandableMethod · 0.95
_GetSubListMethod · 0.95
test_isexpandableMethod · 0.45
test_isexpandableMethod · 0.45
test_isexpandableMethod · 0.45
test_nestedMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_isexpandableMethod · 0.36
test_isexpandableMethod · 0.36
test_isexpandableMethod · 0.36
test_nestedMethod · 0.36