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

Class StubObjectTreeItem

Lib/idlelib/debugobj_r.py:23–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 return list(map(remote_object_tree_item, sub_list))
22
23class StubObjectTreeItem:
24 # Lives in IDLE process
25
26 def __init__(self, sockio, oid):
27 self.sockio = sockio
28 self.oid = oid
29
30 def __getattr__(self, name):
31 value = rpc.MethodProxy(self.sockio, self.oid, name)
32 return value
33
34 def _GetSubList(self):
35 sub_list = self.sockio.remotecall(self.oid, "_GetSubList", (), {})
36 return [StubObjectTreeItem(self.sockio, oid) for oid in sub_list]
37
38
39if __name__ == '__main__':

Callers 1

_GetSubListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…