def generic_origin(t):
    """
    Generic's origin type
    >>> generic_origin(List[int]) == List
    True
    >>> >>> generic_origin(list) == list
    True
    >>> generic_origin(Tuple[str]) == Tuple
    True
    >>> generic_origin(Union[str, int, None]) == Union
    True
    """
    return getattr(t, '__origin__', t) or t
