vÓzfØ ã @ s® d Z d d d g Z d d l Z d d l m Z y d d l m Z Wn" e k
ri d d l m Z Yn Xd d d „ Z Gd
d „ d ƒ Z
d d „ Z e
ƒ Z e j
Z
d S)
zGRedo the builtin repr() (representation) but with limits on most sizes.ÚReprÚreprÚrecursive_repré N)Úislice)Ú get_identz...c s ‡ f d d † } | S)zGDecorator to make a repr function return fillvalue for a recursive callc s‚ t ƒ ‰ ‡ ‡ ‡ f d d † } t ˆ d ƒ | _ t ˆ d ƒ | _ t ˆ d ƒ | _ t ˆ d ƒ | _ t ˆ d i ƒ | _ | S)Nc sW t | ƒ t ƒ f } | ˆ k r% ˆ Sˆ j | ƒ z ˆ | ƒ } Wd ˆ j | ƒ X| S)N)Úidr ÚaddÚdiscard)ÚselfÚkeyÚresult)Ú fillvalueÚrepr_runningÚ
user_function© ú,/opt/alt/python35/lib64/python3.5/reprlib.pyÚwrapper s
z