Ts1 = TypeVar('Ts1') Ts2 = TypeVar('Ts2') IntTuple = Tuple[int, *Ts1] IntFloatTuple = IntTuple[float, *Ts2] # Valid