code: def iter_parents(self, paths='', **kwargs):
          
          # skip ourselves
          skip = kwargs.get("skip", 1)
          if skip == 0:   # skip ourselves
              skip = 1
          kwargs['skip'] = skip
  
          return self.iter_items(self.repo, self, paths, **kwargs)
docs: Iterate _all_ parents of this commit.
  
          :param paths:
              Optional path or list of paths limiting the Commits to those that
              contain at least one of the paths
          :param kwargs: All arguments allowed by git-rev-list
          :return: Iterator yielding Commit objects which are parents of self