
    CjL                    J    S SK Jr  S SKJrJrJr  \" S5      r      SS jrg)    )annotations)CallableIterableTypeVarTc                    / / 4nUS   R                   US   R                   4nU H  nX0" U5      (       +    " U5        M     U$ )a  Partition a sequence into two list from a given predicate. The first list will contain
the values where the predicate is False, the second list will contain the remaining values.

Args:
    predicate: A callable that returns True or False for a given value.
    iterable: In Iterable of values.

Returns:
    A list of values where the predicate is False, and a list
        where the predicate is True.
   r   )append)	predicateiterableresultappendsvalues        d/home/rurouni/.local/share/pipx/venvs/strix-agent/lib/python3.13/site-packages/textual/_partition.py	partitionr      sO     (*2hFay!1!12GIe$$%e, M    N)r   zCallable[[T], object]r   zIterable[T]returnztuple[list[T], list[T]])
__future__r   typingr   r   r   r   r    r   r   <module>r      s4    " . .CL$0;r   