@classmethod
    def iter_items(cls, repo):
        """:return: Iterator yielding Remote objects of the given repository"""
        for section in repo.config_reader("repository").sections():
            if not section.startswith('remote'):
                continue
            lbound = section.find('"')
            rbound = section.rfind('"')
            if lbound == -1 or rbound == -1:
                raise ValueError(section % "Remote-Section has invalid format: %r")
            yield Remote(repo, section[lbound + 1:rbound])
        # END for each configuration section
dataset/ETHPy150Open gitpython-developers/GitPython/git/remote.py/Remote.iter_items/swapped operands of `%`