def unique(items):
    """Yield items from *item* in order, skipping duplicates."""
    seen = set()

    for item in items:
        if item in seen:
            continue
        else:
            yield item
            seen.add(item)
dataset/ETHPy150Open Yelp/mrjob/mrjob/util.py/unique/original