HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/idlelib/idle_test/__pycache__/mock_idle.cpython-311.opt-2.pyc
�

��Vc���b�	ddlmZGd�d��ZGd�d��ZGd�d��ZdS)	�)�Textc��eZdZ	dd�Zd�ZdS)�FuncNFc�L�d|_||_||_d|_d|_dS)Nr)�called�result�return_self�args�kwds)�selfrr	s   �/D:\Python311\Lib\idlelib\idle_test\mock_idle.py�__init__z
Func.__init__s*��������&�����	���	�	�	�c��|xjdz
c_||_||_t|jt
��r|j�|jr|S|jS)N�)rr
r�
isinstancer�
BaseExceptionr	)rr
rs   r
�__call__z
Func.__call__sT�����q������	���	��d�k�=�1�1�	��+��
�
�	��K��;�r)NF)�__name__�
__module__�__qualname__rr�rr
rrs<�����������	�	�	�	�	rrc�"�eZdZ			dd�Zd�ZdS)�EditorNc�V�|p
t��|_t��|_dS�N)r�text�
UndoDelegator�undo)r�flist�filename�key�rootrs      r
rzEditor.__init__+s ���N�D�F�F��	�!�O�O��	�	�	rc�r�|j�d��}|j�d��}||fS)Nz1.0�end)r�index)r�first�lasts   r
�get_selection_indiceszEditor.get_selection_indices0s2���	����&�&���y���u�%�%���d�{�r)NNNNN)rrrrr)rrr
rr(sB�������AE��$�$�$�$�
����rrc��eZdZ	d�Zd�ZdS)rc��dSrr�r
s r
�undo_block_startzUndoDelegator.undo_block_start:����rc��dSrrr,s r
�undo_block_stopzUndoDelegator.undo_block_stop<r.rN)rrrr-r0rrr
rr6s7�������
�
�
�
�
�
�
�
rrN)�idlelib.idle_test.mock_tkrrrrrrr
�<module>r2s����
+�*�*�*�*�*���������@��������
�
�
�
�
�
�
�
�
�
r