(sequence)
return [x for x in sequence if x not in seen and not seen_add(x)]
Makes the sequence unique.

    Makes sure items in the given sequence are unique, having the original
    order preserved.

    :param iterable sequence:
    :return list:
Makes the sequence unique.
Makes the sequence unique .
def uniquify_sequence(sequence):
    """Makes the sequence unique.

    Makes sure items in the given sequence are unique, having the original
    order preserved.

    :param iterable sequence:
    :return list:
    """
    seen = set()
    seen_add = seen.add
    return [x for x in sequence if x not in seen and not seen_add(x)]
def uniquify_sequence ( sequence ) : seen = set ( ) seen_add = seen . add return [ x for x in sequence if x not in seen and not seen_add ( x ) ]