def iter_sequence(seq_like):
    """ iterate a sequence or Sequence type """
    try:
        for item in seq_like:
            yield item
    except TypeError:
        for arg in seq_like.__args__:
            yield arg
