ok

Mini Shell

Direktori : /opt/alt/python36/lib64/python3.6/idlelib/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/idlelib/__pycache__/delegator.cpython-36.pyc

3

*j�a�@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/python36/lib64/python3.6/idlelib/delegator.py�__init__szDelegator.__init__cCs(t|j|�}t|||�|jj|�|S)N)�getattrr�setattrr�add)r�name�attrrrr�__getattr__	szDelegator.__getattr__cCsBx2|jD](}yt||�Wqtk
r.YqXqW|jj�dS)z;Removes added attributes while leaving original attributes.N)r�delattr�AttributeError�clear)r�keyrrr�
resetcaches
zDelegator.resetcachecCs|j�||_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

Zerion Mini Shell 1.0