Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/idlelib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/idlelib/__pycache__/zzdummy.cpython-38.opt-2.pyc
U

@��g��@sZddlmZddlmZdd�ZGdd�d�Ze��edkrVddlZej	d	d
dd�dS)
�)�idleConf��wrapscst��d�fdd�	�}|S)NcsT|j��\}}}}tt|�d�D]}||}�||�||<q"|j�||||�dS)N��break)�	formatterZ
get_region�range�lenZ
set_region)�self�event�head�tail�chars�lines�pos�line��format_line��./opt/cppython/lib/python3.8/idlelib/zzdummy.py�applyszformat_selection.<locals>.apply)Nr)rrrrr�format_selectionsrc@sFeZdZdddgfgZdd�Zedd��Zedd	��Zed
d��Z	dS)
�ZzDummy�format)zZ inz<<z-in>>)zZ outz	<<z-out>>cCs||_|j|_|j|_dS�N)�editwin�textZfregionr)r
rrrr�__init__%szZzDummy.__init__cCst�ddd�|_dS)N�
extensionsrzz-text)rZ	GetOption�ztext)�clsrrr�reload+szZzDummy.reloadcCs|j�|��Sr)r)r
rrrr�
z_in_event0szZzDummy.z_in_eventcCs&|�|j�sdnt|j�}||d�S)Nr)�
startswithrr	)r
rZzlengthrrr�z_out_event9szZzDummy.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*

F1le Man4ger