code: def reset(self):
          
          self.added = []
          self.changed = []
          self.removed = []
          self.parents = []
docs: Resets this instance to initial state (cleans ``added``, ``changed``
          and ``removed`` lists).