def repeat(obj, times=None):
    """Make an iterator that returns object over and over again."""
    if times is None:

        return AsyncIterWrapper(sync_itertools.repeat(obj))

    return AsyncIterWrapper(sync_itertools.repeat(obj, times))
def repeat ( obj , times = None ) : if times is None : return AsyncIterWrapper ( sync_itertools . repeat ( obj ) ) return AsyncIterWrapper ( sync_itertools . repeat ( obj , times ) )
Make an iterator that returns object over and over again.