code: def insertfilter(self, filter):
      # Perhaps rename to pushfilter()?
      assert isinstance(filter, Delegator)
      assert filter.delegate is None
      filter.setdelegate(self.top)
      self.top = filter
  
file_path: cpython/Lib/idlelib/percolator.py
imports: from idlelib.delegator import Delegator
  from idlelib.redirector import WidgetRedirector
label_desc: Use image node_id 5 for calling the Percolator obj's underlying member method code with example usage: obj.insertfilter(filter) without return types