관리-도구
편집 파일: _itertools.cpython-311.pyc
� N�Dg� � � � d dl mZ d� fd�ZdS )� )�consumec � � | S )N� )�xs �u/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_itertools.py�<lambda>r s � �!� � c # � K � t � � }|j }| D ]3} ||� � }||v rt d|�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_uniquer sy � � � � �5�5�D��x�H�� � ���C��L�L����9�9��J�'�J�J�J�K�K�K�������� � � � �� r N)� setuptools.extern.more_itertoolsr r r r r �<module>r s<