def sliceit(args):
    """
    If arguments are a slice, return it.  Otherwise,
    create a slice.
    """
    if isinstance(args, slice):
        return args
    try:
        return slice(*args)
    except TypeError:
        return slice(args, args + 1)
