Your IP : 216.73.216.196


Current Path : /opt/alt/python310/lib64/python3.10/idlelib/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/idlelib/__pycache__/zzdummy.cpython-310.opt-2.pyc

o

0�i��@s`	ddlmZddlmZdd�ZGdd�d�Ze��edkr.ddlZej	d	d
dd�dSdS)
�)�idleConf��wrapscs	t��d�fdd�	�}|S)NcsT|j��\}}}}tt|�d�D]
}||}�||�||<q|j�||||�dS)N��break)�	formatterZ
get_region�range�lenZ
set_region)�selfZevent�head�tail�chars�lines�pos�line��format_line��6/opt/alt/python310/lib64/python3.10/idlelib/zzdummy.py�applyszformat_selection.<locals>.apply�Nr)rrrrr�format_selectionsrc@sHeZdZ	dddgfgZdd�Zedd��Zedd	��Zed
d��Z	dS)
�ZzDummy�format)zZ inz<<z-in>>)zZ outz	<<z-out>>cCs	||_|j|_|j|_dSr)�editwin�textZfregionr)r
rrrr�__init__%szZzDummy.__init__cCs	t�ddd�|_dS)N�
extensionsrzz-text)rZ	GetOption�ztext)�clsrrr�reload+szZzDummy.reloadcCs	|j�|��Sr)r)r
rrrr�
z_in_event0szZzDummy.z_in_eventcCs(	|�|j�s	dnt|j�}||d�S)Nr)�
startswithrr	)r
rZzlengthrrr�z_out_event9szZzDummy.z_out_eventN)
�__name__�
__module__�__qualname__Zmenudefsr�classmethodr rr!r#rrrrrs��

r�__main__Nzidlelib.idle_test.test_zzdummy�F)�	verbosity�exit)
Zidlelib.configr�	functoolsrrrr r$Zunittest�mainrrrr�<module>s*�