ó
|Nc           @   s   d  d d „  ƒ  YZ  d S(   t	   Delegatorc           B   sA   e  Z d d  „ Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   c         C   s   | |  _  i  |  _ d  S(   N(   t   delegatet   _Delegator__cache(   t   selfR   (    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt   __init__   s    	c         C   s3   t  |  j | ƒ } t |  | | ƒ | |  j | <| S(   N(   t   getattrR   t   setattrR   (   R   t   namet   attr(    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt   __getattr__	   s    c         C   sP   x< |  j  j ƒ  D]+ } y t |  | ƒ Wq t k
 r: q Xq W|  j  j ƒ  d  S(   N(   R   t   keyst   delattrt   AttributeErrort   clear(   R   t   key(    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt
   resetcache   s    c         C   s"   |  j  j ƒ  } | j ƒ  | GHd  S(   N(   R   R
   t   sort(   R   R
   (    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt   cachereport   s    
c         C   s   |  j  ƒ  | |  _ d  S(   N(   R   R   (   R   R   (    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt   setdelegate   s    
c         C   s   |  j  S(   N(   R   (   R   (    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt   getdelegate    s    N(	   t   __name__t
   __module__t   NoneR   R	   R   R   R   R   (    (    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyR       s   				N(    (   R    (    (    (    s&   C:\RCS\Python\lib\idlelib\Delegator.pyt   <module>   s    