python (3.11.7)
    e                     V     G d  d          Z edk    rddlmZ  edd           dS dS )	c                   (    e Zd ZddZd Zd Zd ZdS )	DelegatorNc                 :    || _         t                      | _        d S N)delegateset_Delegator__cacheselfr   s     E/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/idlelib/delegator.py__init__zDelegator.__init__   s     
uu    c                     t          | j        |          }t          | ||           | j                            |           |S r   )getattrr   setattrr   add)r
   nameattrs      r   __getattr__zDelegator.__getattr__	   s@    t}d++dD!!!r
   c                     | j         D ]#}	 t          | |           # t          $ r Y  w xY w| j                                          dS )z;Removes added attributes while leaving original attributes.N)r   delattrAttributeErrorclear)r
   keys     r   
resetcachezDelegator.resetcache   sg     <