list -> generator in documentation where appropriate

I replaced some of the docstrings for repo.py where a list was said to be returned when a generator was actually returned (very minor change :) ).