https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/click/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/click/__pycache__/_textwrap.cpython-310.pyc
o

�+caI�@s2ddlZddlZddlmZGdd�dej�ZdS)�N)�contextmanagerc
@sdeZdZdejedejedededdf
dd�Zed	edej	dfd
d��Z
dedefd
d�ZdS)�TextWrapper�reversed_chunks�cur_line�cur_len�width�returnNc	Csdt||d�}|jr%|d}|d|�}||d�}|�|�||d<dS|s0|�|���dSdS)N����)�max�break_long_words�append�pop)	�selfrrrr�
space_left�last�cut�res�r�1/usr/lib/python3/dist-packages/click/_textwrap.py�_handle_long_words
�zTextWrapper._handle_long_word�indentccsR�|j}|j}|j|7_|j|7_zdVW||_||_dS||_||_w)N)�initial_indent�subsequent_indent)rr�old_initial_indent�old_subsequent_indentrrr�extra_indents�
�zTextWrapper.extra_indent�textcCsJg}t|���D]\}}|j}|dkr|j}|�|�|���qd�|�S)Nr�
)�	enumerate�
splitlinesrrr
�join)rr�rv�idx�linerrrr�indent_only&s
zTextWrapper.indent_only)�__name__�
__module__�__qualname__�t�List�str�intrr�Iteratorrr%rrrrrs����
�r)�textwrap�typingr)�
contextlibrrrrrr�<module>s

https://t.me/RX1948 - 2025