관리-도구
편집 파일: _loop.cpython-312.pyc
� G��e� � � � d dl mZmZmZ ed� Zdee deeeef fd�Zdee deeeef fd�Zdee deeeeef fd�Zy) � )�Iterable�Tuple�TypeVar�T�values�returnc # �~ K � t | � } t |� }d|f�� |D ] }d|f�� � y# t $ r Y yw xY w�w)z9Iterate and generate a tuple with a flag for first value.NTF��iter�next� StopIteration)r �iter_values�values ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py� loop_firstr sV � �� ��v�,�K���[�!�� ��+��� ���U�l���� � ���s �=�. �=� :�=�:�=c # � K � t | � } t |� }|D ] }d|f�� |}� d|f�� y# t $ r Y yw xY w�w)z8Iterate and generate a tuple with a flag for last value.NFTr )r r �previous_valuer s r � loop_lastr s_ � �� ��v�,�K���k�*�� � ���^�#�#���� �� ��� � ���s �?�0 �?� <�?�<�?c # � K � t | � } t |� }d}|D ] }|d|f�� d}|}� |d|f�� y# t $ r Y yw xY w�w)zBIterate and generate a tuple with a flag for first and last value.NTFr )r r r �firstr s r �loop_first_lastr sm � �� ��v�,�K���k�*�� �E�� ���U�N�*�*������ ��~� %�%�� � ���s$ �A�6 �A� A�A�A�AN) �typingr r r r �boolr r r � � r �<module>r s� �� +� +��C�L�� �x��{� �x��d�A�g��'?� � �h�q�k� �h�u�T�1�W�~�&>� �&�H�Q�K� &�H�U�4��q�=�5I�,J� &r