code: def GetSubList(self):
      frame, lineno = self.info
      sublist = []
      if frame.f_globals is not frame.f_locals:
          item = VariablesTreeItem(
              "<locals>", frame.f_locals, self.flist
          )
          sublist.append(item)
      item = VariablesTreeItem("<globals>", frame.f_globals, self.flist)
      sublist.append(item)
      return sublist
  
imports: import linecache
  import os
  import tkinter
  from idlelib.debugobj import ObjectTreeItem, make_objecttreeitem
  from idlelib.tree import TreeNode, TreeItem, ScrolledCanvas
label_desc: Use image node_id 3 for calling the FrameTreeItem obj's underlying member method code with example usage: obj.GetSubList() and returns: sublist