Current File : //opt/alt/python35/lib64/python3.5/idlelib/idle_test/__pycache__/mock_idle.cpython-35.opt-2.pyc


���]%�@sMddlmZGdd�d�ZGdd�d�ZGdd�d�ZdS)	�)�Textc@s+eZdZddd�Zdd�ZdS)�FuncNcCs(d|_||_d|_d|_dS)NF)�called�result�args�kwds)�selfr�r	�./opt/alt/python35/lib64/python3.5/mock_idle.py�__init__s			z
Func.__init__cOsDd|_||_||_t|jt�r9|j�n|jSdS)NT)rrr�
isinstancer�
BaseException)rrrr	r	r
�__call__s			z
Func.__call__)�__name__�
__module__�__qualname__rrr	r	r	r
rsrc@s4eZdZdddddd�Zdd�ZdS)�EditorNcCst�|_t�|_dS)N)r�text�
UndoDelegatorZundo)r�flist�filename�key�rootr	r	r
r&szEditor.__init__cCs.|jjd�}|jjd�}||fS)Nz1.0�end)r�index)r�firstZlastr	r	r
�get_selection_indices*szEditor.get_selection_indices)rrrrrr	r	r	r
r#src@s(eZdZdd�Zdd�ZdS)rcGsdS)Nr	)rr	r	r
�undo_block_start4szUndoDelegator.undo_block_startcGsdS)Nr	)rr	r	r
�undo_block_stop6szUndoDelegator.undo_block_stopN)rrrrrr	r	r	r
r0srN)Zidlelib.idle_test.mock_tkrrrrr	r	r	r
�<module>s