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

Function make_objecttreeitem

Lib/idlelib/debugobj.py:116–122  ·  view source on GitHub ↗
(labeltext, object_, setfunction=None)

Source from the content-addressed store, hash-verified

114}
115
116def make_objecttreeitem(labeltext, object_, setfunction=None):
117 t = type(object_)
118 if t in dispatch:
119 c = dispatch[t]
120 else:
121 c = ObjectTreeItem
122 return c(labeltext, object_, setfunction)
123
124
125def _debug_object_browser(parent): # htest #

Callers 5

GetSubListMethod · 0.90
GetSubListMethod · 0.85
GetSubListMethod · 0.85
GetSubListMethod · 0.85
_debug_object_browserFunction · 0.85

Calls 1

cClass · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…