Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib64/python3.7/idlelib/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/idlelib/__pycache__/delegator.cpython-37.opt-1.pyc

B

� f�@s2Gdd�d�Zedkr.ddlmZeddd�dS)	c@s.eZdZd
dd�Zdd�Zdd�Zdd	�ZdS)�	DelegatorNcCs||_t�|_dS)N)�delegate�set�_Delegator__cache)�selfr�r�6/opt/alt/python37/lib64/python3.7/idlelib/delegator.py�__init__szDelegator.__init__cCs(t|j|�}t|||�|j�|�|S)N)�getattrr�setattrr�add)r�name�attrrrr�__getattr__	szDelegator.__getattr__c	CsBx2|jD](}yt||�Wqtk
r.YqXqW|j��dS)z;Removes added attributes while leaving original attributes.N)r�delattr�AttributeError�clear)r�keyrrr�
resetcaches
zDelegator.resetcachecCs|��||_dS)z%Reset attributes and change delegate.N)rr)rrrrr�setdelegateszDelegator.setdelegate)N)�__name__�
__module__�__qualname__rrrrrrrrrs
r�__main__�)�mainz idlelib.idle_test.test_delegator�)�	verbosityN)rrZunittestrrrrr�<module>s

Hacked By AnonymousFox1.0, Coded By AnonymousFox