File: //opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyc
�
T~gc           @   s   d  d d �  �  YZ  d S(   t	   Delegatorc           B   s/   e  Z d d  � Z d �  Z d �  Z d �  Z RS(   c         C   s   | |  _  t �  |  _ d  S(   N(   t   delegatet   sett   _Delegator__cache(   t   selfR   (    (    s6   /opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyt   __init__   s    	c         C   s6   t  |  j | � } t |  | | � |  j j | � | S(   N(   t   getattrR   t   setattrR   t   add(   R   t   namet   attr(    (    s6   /opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyt   __getattr__	   s    c         C   sJ   x6 |  j  D]+ } y t |  | � Wq
 t k
 r4 q
 Xq
 W|  j  j �  d  S(   N(   R   t   delattrt   AttributeErrort   clear(   R   t   key(    (    s6   /opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyt
   resetcache   s    
c         C   s   |  j  �  | |  _ d  S(   N(   R   R   (   R   R   (    (    s6   /opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyt   setdelegate   s    
N(   t   __name__t
   __module__t   NoneR   R   R   R   (    (    (    s6   /opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyR       s   		N(    (   R    (    (    (    s6   /opt/alt/python27/lib64/python2.7/idlelib/Delegator.pyt   <module>   t