PAL.C.T MINI SHELL
��
���Lc@s`dZddgZddkZddklZddd��YZd�Ze�ZeiZdS( sGRedo the builtin repr() (representation) but with limits on most sizes.tReprtrepri����N(tislicecBs�eZd�Zd�Zd�Zdd�Zd�Zd�Zd�Zd�Z d �Z
d
�Zd�Zd�Z
d
�Zd�ZRS(cCsgd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_
dS(Niiiii(i(tmaxleveltmaxtupletmaxlisttmaxarraytmaxdicttmaxsettmaxfrozensettmaxdequet maxstringtmaxlongtmaxother(tself((s/usr/lib/python2.6/repr.pyt__init__
s cCs|i||i�S(N(trepr1R(Rtx((s/usr/lib/python2.6/repr.pyRscCs�t|�i}d|jo|i�}di|�}nt|d|�ot|d|�||�Sti|�}t|�|i joXt
d|i dd�}t
d|i d|�}|| d|t|�|}n|SdS(Nt t_trepr_iiis...(ttypet__name__tsplittjointhasattrtgetattrt__builtin__RtlenR
tmax(RRtlevelttypenametpartststitj((s/usr/lib/python2.6/repr.pyRs
$tcCs�t|�}|djo|o
d}n�|d} |i}
g}t||�D]}||
|| �qQ~}
||jo|
id�ndi|
�}|djo|o||}nd|||fS(Nis...is, s%s%s%s(RRRtappendR(RRRtlefttrighttmaxiterttrailtnR!tnewlevelRt_[1]telemtpieces((s/usr/lib/python2.6/repr.pyt_repr_iterable)s
3
cCs|i||dd|id�S(Nt(t)t,(R/R(RRR((s/usr/lib/python2.6/repr.pyt
repr_tuple6scCs|i||dd|i�S(Nt[t](R/R(RRR((s/usr/lib/python2.6/repr.pyt repr_list9scCs)d|i}|i|||d|i�S(Ns
array('%s', [s])(ttypecodeR/R(RRRtheader((s/usr/lib/python2.6/repr.pyt
repr_array<s
cCs(t|�}|i||dd|i�S(Nsset([s])(t_possibly_sortedR/R(RRR((s/usr/lib/python2.6/repr.pytrepr_set@scCs(t|�}|i||dd|i�S(Nsfrozenset([s])(R:R/R (RRR((s/usr/lib/python2.6/repr.pytrepr_frozensetDscCs|i||dd|i�S(Nsdeque([s])(R/R
(RRR((s/usr/lib/python2.6/repr.pyt
repr_dequeIscCs�t|�}|djodS|djodS|d}|i}g}xYtt|�|i�D]?}|||�}||||�} |id|| f�qbW||ijo|id�ndi|�}
d|
fS( Nis{}s{...}is%s: %ss...s, s{%s}(RRRR:RR%R(RRRR*R+RR.tkeytkeyreprtvalreprR!((s/usr/lib/python2.6/repr.pyt repr_dictLs"
cCs�ti||i �}t|�|ijo}td|idd�}td|id|�}ti|| |t|�|�}|| d|t|�|}n|S(Niiis...(RRRRR(RRRR!R"R#((s/usr/lib/python2.6/repr.pytrepr_str[s%$cCs�ti|�}t|�|ijoXtd|idd�}td|id|�}|| d|t|�|}n|S(Niiis...(RRRRR(RRRR!R"R#((s/usr/lib/python2.6/repr.pyt repr_longds$cCs�yti|�}Wn*tj
od|iit|�fSXt|�|ijoXtd|idd�}td|id|�}|| d|t|�|}n|S(Ns<%s instance at %x>iiis...( RRt Exceptiont __class__RtidRRR(RRRR!R"R#((s/usr/lib/python2.6/repr.pyt
repr_instancels$(Rt
__module__RRRR/R3R6R9R;R<R=RARBRCRG(((s/usr/lib/python2.6/repr.pyRs
cCs/yt|�SWntj
ot|�SXdS(N(tsortedRDtlist(R((s/usr/lib/python2.6/repr.pyR:zs(( t__doc__t__all__Rt itertoolsRRR:taReprR(((s/usr/lib/python2.6/repr.pyt<module>sr
�
y���~�or�5�J�={��E��e�u磝Qk��ᯘG{�?���+�]������ן�?w�M3X^��歌>{�7پ�K�>�o��n�\����j�y��R���g/�=��f�O��r�o��NV�v��~�Y+��NG�u���Ý����HW��y�w�[eQ�ʨ�S�b��>������>�}G�mx[o[<��{���Ϯ_��qF���vMIEND�B`�