Your IP : 18.119.135.231


Current Path : /opt/alt/python311/lib/python3.11/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib/python3.11/site-packages/setuptools/__pycache__/_itertools.cpython-311.pyc

�

,�Re����ddlmZd�fd�ZdS)�)�consumec��|S)N�)�xs ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/_itertools.py�<lambda>rs��!��c#�K�t��}|j}|D]3}||��}||vrtd|�d����||��|V��4dS)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_uniquersy�����5�5�D��x�H������C��L�L����9�9��J�'�J�J�J�K�K�K��������
�
�
�
��r	N)� setuptools.extern.more_itertoolsrrrr	r�<module>rs<��4�4�4�4�4�4�!,�������r	

?>