mς
­fIc           @   s   d  f  d     YZ  d S(   t	   Delegatorc           B   sA   t  Z d  d  Z d   Z d   Z d   Z d   Z d   Z RS(   Nc         C   s   | |  _  h  |  _ d  S(   N(   t   delegatet   selft   _Delegator__cache(   R   R   (    (    t.   /mit/python/lib/python2.4/idlelib/Delegator.pyt   __init__   s    	c         C   s3   t  |  i |  } t |  | |  | |  i | <| S(   N(   t   getattrR   R   t   namet   attrt   setattrR   (   R   R   R   (    (    R   t   __getattr__	   s    c         C   sR   x> |  i i   D]- } y t |  |  Wq t j
 o q Xq W|  i i   d  S(   N(   R   R   t   keyst   keyt   delattrt   AttributeErrort   clear(   R   R   (    (    R   t
   resetcache   s     	c         C   s"   |  i i   } | i   | GHd  S(   N(   R   R   R   t   sort(   R   R   (    (    R   t   cachereport   s    
c         C   s   |  i   | |  _ d  S(   N(   R   R   R   (   R   R   (    (    R   t   setdelegate   s    
c         C   s   |  i S(   N(   R   R   (   R   (    (    R   t   getdelegate    s    (	   t   __name__t
   __module__t   NoneR   R
   R   R   R   R   (    (    (    R   R       s   				N(   R    (   R    (    (    R   t   ?   s    