ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/textwrap.cpython-311.opt-2.pyc |
� �fM � �� � d dl Z g d�ZdZ G d� d� � Zdd�Zdd�Zd � Z e j d e j � � Z e j de j � � Z d� Zdd �Ze dk r e ed� � � � dS dS )� N)�TextWrapper�wrap�fill�dedent�indent�shortenz c � � e Zd Z e� eee� � ed� � � � ZdZ dZ d ej e� � z Z de dd� z Z ej de e e ed �z ej � � Z[ [ [ ej d e z � � Z[ ej d� � Z dddd�d�Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� ZdS )r � z[\w!"\'&.,?]z[^\d\W]z[%s]z[^� Na� ( # any whitespace %(ws)s+ | # em-dash between words (?<=%(wp)s) -{2,} (?=\w) | # word, possibly hyphenated %(nws)s+? (?: # hyphenated word -(?: (?<=%(lt)s{2}-) | (?<=%(lt)s-%(lt)s-)) (?= %(lt)s -? %(lt)s) | # end of word (?=%(ws)s|\Z) | # em-dash (?<=%(wp)s) (?=-{2,}\w) ) ))�wp�lt�ws�nwsz(%s+)z[a-z][\.\!\?][\"\']?\Z�F � TF� z [...])� max_lines�placeholderc � � || _ || _ || _ || _ || _ || _ || _ || _ | | _ | | _ || _ || _ d S �N)�width�initial_indent�subsequent_indent�expand_tabs�replace_whitespace�fix_sentence_endings�break_long_words�drop_whitespace�break_on_hyphens�tabsizer r ) �selfr r r r r r r r r r r r s �//opt/alt/python311/lib64/python3.11/textwrap.py�__init__zTextWrapper.__init__p sg � � �� �,���!2���&���"4���$8��!� 0���.��� 0������"���&����� c � � | j r|� | j � � }| j r|� | j � � }|S r )r � expandtabsr r � translate�unicode_whitespace_trans�r! �texts r"