관리-도구
편집 파일: util.cpython-312.opt-1.pyc
� �Q�f_ � � � d Z ddlmZmZ ddlmZ dZdZdZdZ dZ dZee ez ez ez e z z Zd� Z d � Zdd �Zd� Zd� Zd � Zd� Z edd� Zd� Zd� Zy)zVarious utility functions.� )� namedtuple�Counter)�commonprefixT�P � � c �n � t | � |z |z }|t kD rd| d | || t | � |z d fz } | S )Nz%s[%d chars]%s)�len�_PLACEHOLDER_LEN)�s� prefixlen� suffixlen�skips �4/opt/alt/python312/lib64/python3.12/unittest/util.py�_shortenr sK � ��q�6�I�� �)�D������*�9� �t�Q�s�1�v� �7I�7J�5K�L�L���H� c � ��� t t t | � � } t t t | � � }|t k r| S t | � �t �� �t |�z t z t z z }|t kD r&t �t |� �t ��fd�| D � � S t �t t � �t ��fd�| D � � S )Nc 3 �. �K � | ] }�|�d z �� � y �w�N� ��.0r �prefixr s ��r � <genexpr>z'_common_shorten_repr.<locals>.<genexpr>'