(seq: Sequence[Tuple[int, ...]])
return functools.reduce(lambda x, y: (x, y), seq)
Make a simple left to right binary tree out of iterable `seq`.

    ```python
    tuple_nest([1, 2, 3, 4])
    #> (((1, 2), 3), 4)
    ```
Make a simple left to right binary tree out of iterable `seq`.
Make a simple left to right binary tree out of iterable seq .
def simple_tree_tuple(seq: Sequence[Tuple[int, ...]]) -> Tuple[Any, ...]:
    """Make a simple left to right binary tree out of iterable `seq`.

    ```python
    tuple_nest([1, 2, 3, 4])
    #> (((1, 2), 3), 4)
    ```

    """
    return functools.reduce(lambda x, y: (x, y), seq)
def simple_tree_tuple ( seq : Sequence [ Tuple [ int , ... ] ] ) -> Tuple [ Any , ... ] : return functools . reduce ( lambda x , y : ( x , y ) , seq )