code: def set_saved(self, flag):
      if flag:
          self.saved = self.pointer
      else:
          self.saved = -1
      self.can_merge = False
      self.check_saved()
  
imports: import string
  from idlelib.delegator import Delegator
label_desc: Use image node_id 5 for calling the UndoDelegator obj's underlying member method code with example usage: obj.set_saved(flag) without return types