HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/click/__pycache__/_textwrap.cpython-37.pyc
B

�P�eI�@s2ddlZddlZddlmZGdd�dej�ZdS)�N)�contextmanagerc@sXeZdZejeejeeedd�dd�Zeeej	dd�dd��Z
eed�d	d
�ZdS)�TextWrapperN)�reversed_chunks�cur_line�cur_len�width�returnc	Cs^t||d�}|jrH|d}|d|�}||d�}|�|�||d<n|sZ|�|���dS)N����)�max�break_long_words�append�pop)	�selfrrrr�
space_left�last�cut�res�r�@/opt/alt/python37/lib/python3.7/site-packages/click/_textwrap.py�_handle_long_words

zTextWrapper._handle_long_word)�indentrccsF|j}|j}|j|7_|j|7_z
dVWd||_||_XdS)N)�initial_indent�subsequent_indent)rrZold_initial_indentZold_subsequent_indentrrr�extra_indents
zTextWrapper.extra_indent)�textrcCsNg}x>t|���D].\}}|j}|dkr.|j}|�|�|���qWd�|�S)Nr�
)�	enumerate�
splitlinesrrr
�join)rr�rv�idx�linerrrr�indent_only&szTextWrapper.indent_only)�__name__�
__module__�__qualname__�t�List�str�intrr�Iteratorrr#rrrrrsr)�textwrap�typingr'�
contextlibrrrrrr�<module>s