code: def save_marks(self, text):
      marks = {}
      for name in text.mark_names():
          if name != "insert" and name != "current":
              marks[name] = text.index(name)
      return marks
  
imports: import string
  from idlelib.delegator import Delegator
label_desc: Use image node_id 7 for calling the Command obj's underlying member method code with example usage: obj.save_marks(text) and returns: marks