관리-도구
편집 파일: repr.pyo
� ^ bc @ s` d Z d d g Z d d l Z d d l m Z d d d � � YZ d � Z e � Z e j Z d S( sG Redo the builtin repr() (representation) but with limits on most sizes.t Reprt repri����N( t islicec B s� e Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C sg d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d S( Ni i i i i( i ( t maxlevelt maxtuplet maxlistt maxarrayt maxdictt maxsett maxfrozensett maxdequet maxstringt maxlongt maxother( t self( ( s) /opt/alt/python27/lib64/python2.7/repr.pyt __init__ s c C s | j | | j � S( N( t repr1R ( R t x( ( s) /opt/alt/python27/lib64/python2.7/repr.pyR s c C s� t | � j } d | k r9 | j � } d j | � } n t | d | � rf t | d | � | | � St j | � } t | � | j k r� t d | j d d � } t d | j d | � } | | d | t | � | } n | Sd S( Nt t _t repr_i i i s ...( t typet __name__t splitt joint hasattrt getattrt __builtin__R t lenR t max( R R t levelt typenamet partst st it j( ( s) /opt/alt/python27/lib64/python2.7/repr.pyR s #t c C s� t | � } | d k r'