AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python35/lib64/python3.5/unittest/__pycache__/ |
Current File : //proc/self/root/opt/alt/python35/lib64/python3.5/unittest/__pycache__/util.cpython-35.opt-2.pyc |
���]9 � @ s� d d l m Z m Z d d l m Z d Z d Z d Z d Z d Z d Z e e e e e e Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z e d d � Z d d � Z d d � Z d d � Z d S)� )� namedtuple�OrderedDict)�commonprefixT�P � � c C sU t | � | | } | t k rQ d | d | � | | t | � | d � f } | S)Nz%s[%d chars]%s)�len�_PLACEHOLDER_LEN)�s� prefixlenZ suffixlen�skip� r �)/opt/alt/python35/lib64/python3.5/util.py�_shorten s 1r c s� t t t | � � } t t t | � � } | t k r: | St | � � t � � � t | � t t } | t k r� t � t | � � t � � f d d � | D� � St � t t � � t � � f d d � | D� � S)Nc 3 s# | ] } � | � d � Vq d S)Nr )�.0r )�prefixr r r � <genexpr>'