Your IP : 3.138.134.149


Current Path : /opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/_itertools.cpython-312.pyc

�

t��e����ddlmZd�fd�Zy)�)�consumec��|S)N�)�xs ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_itertools.py�<lambda>rs��!��c#�K�t�}|j}|D])}||�}||vrtd|�d���||�|���+y�w)a
    Wrap an iterable to raise a ValueError if non-unique values are encountered.

    >>> list(ensure_unique('abc'))
    ['a', 'b', 'c']
    >>> consume(ensure_unique('abca'))
    Traceback (most recent call last):
    ...
    ValueError: Duplicate element 'a' encountered.
    zDuplicate element z
 encountered.N)�set�add�
ValueError)�iterable�key�seen�seen_add�element�ks      r�
ensure_uniquersX�����5�D��x�x�H������L����9��1�'��M�J�K�K�����
��s�AAN)� setuptools.extern.more_itertoolsrrrr	r�<module>rs��4�!,�r	

?>