Current Path : /compat/linux/proc/68247/root/usr/local/lib/python2.5/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/68247/root/usr/local/lib/python2.5/repr.pyo |
³ò h”Rc @ s` d Z d d g Z d d k Z d d k l Z d d d „ ƒ YZ d „ Z e ƒ Z e i 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 /usr/local/lib/python2.5/repr.pyt __init__ s c C s | i | | i ƒ S( N( t repr1R ( R t x( ( s /usr/local/lib/python2.5/repr.pyR s c C sò t | ƒ i } d | j o | i ƒ } d i | ƒ } n t | d | ƒ o t | d | ƒ | | ƒ Sn‚ t i | ƒ } t | ƒ | i j oX t d | i d d ƒ } t d | i 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 /usr/local/lib/python2.5/repr.pyR s $t c C sÐ t | ƒ } | d j o | o d } n– | d } | i } g } t | | ƒ D] } | | | | ƒ qQ ~ } | | j o | i d ƒ n d i | ƒ } | d j o | o | | } n d | | | f S( Ni s ...i s , s %s%s%s( R R R t appendR ( R R R t leftt rightt maxitert trailt nR! t newlevelR t _[1]t elemt pieces( ( s /usr/local/lib/python2.5/repr.pyt _repr_iterable) s 3 c C s | i | | d d | i d ƒ S( Nt (t )t ,( R/ R ( R R R ( ( s /usr/local/lib/python2.5/repr.pyt repr_tuple6 s c C s | i | | d d | i ƒ S( Nt [t ]( R/ R ( R R R ( ( s /usr/local/lib/python2.5/repr.pyt repr_list9 s c C s) d | i } | i | | | d | i ƒ S( Ns array('%s', [s ])( t typecodeR/ R ( R R R t header( ( s /usr/local/lib/python2.5/repr.pyt repr_array<