/opt/imh/python3.13/lib/python3.13/__pycache__
NameSizeModeActions
abc.cpython-313.pyc79280644editdlrm
antigravity.cpython-313.pyc10000644editdlrm
argparse.cpython-313.pyc1040800644editdlrm
ast.cpython-313.pyc1030860644editdlrm
base64.cpython-313.pyc258320644editdlrm
bdb.cpython-313.pyc405800644editdlrm
bisect.cpython-313.pyc35120644editdlrm
bz2.cpython-313.pyc151800644editdlrm
calendar.cpython-313.pyc397080644editdlrm
cmd.cpython-313.pyc189770644editdlrm
code.cpython-313.pyc157990644editdlrm
codecs.cpython-313.pyc405720644editdlrm
codeop.cpython-313.pyc66550644editdlrm
colorsys.cpython-313.pyc45190644editdlrm
compileall.cpython-313.pyc206150644editdlrm
configparser.cpython-313.pyc689660644editdlrm
contextlib.cpython-313.pyc305090644editdlrm
contextvars.cpython-313.pyc2760644editdlrm
copy.cpython-313.pyc106450644editdlrm
copyreg.cpython-313.pyc75510644editdlrm
cProfile.cpython-313.pyc86790644editdlrm
csv.cpython-313.pyc207150644editdlrm
dataclasses.cpython-313.pyc478390644editdlrm
datetime.cpython-313.pyc4260644editdlrm
decimal.cpython-313.pyc30170644editdlrm
difflib.cpython-313.pyc720550644editdlrm
dis.cpython-313.pyc475320644editdlrm
doctest.cpython-313.pyc1076920644editdlrm
enum.cpython-313.pyc858660644editdlrm
filecmp.cpython-313.pyc150420644editdlrm
fileinput.cpython-313.pyc206480644editdlrm
fnmatch.cpython-313.pyc68190644editdlrm
fractions.cpython-313.pyc383840644editdlrm
ftplib.cpython-313.pyc423460644editdlrm
functools.cpython-313.pyc422860644editdlrm
genericpath.cpython-313.pyc78260644editdlrm
getopt.cpython-313.pyc84790644editdlrm
getpass.cpython-313.pyc73260644editdlrm
gettext.cpython-313.pyc225760644editdlrm
glob.cpython-313.pyc236810644editdlrm
graphlib.cpython-313.pyc102120644editdlrm
gzip.cpython-313.pyc319930644editdlrm
hashlib.cpython-313.pyc82910644editdlrm
heapq.cpython-313.pyc177850644editdlrm
hmac.cpython-313.pyc106750644editdlrm
imaplib.cpython-313.pyc626620644editdlrm
inspect.cpython-313.pyc1365370644editdlrm
io.cpython-313.pyc42900644editdlrm
ipaddress.cpython-313.pyc919790644editdlrm
keyword.cpython-313.pyc10560644editdlrm
linecache.cpython-313.pyc85670644editdlrm
locale.cpython-313.pyc590140644editdlrm
lzma.cpython-313.pyc157330644editdlrm
mailbox.cpython-313.pyc1187480644editdlrm
mimetypes.cpython-313.pyc249130644editdlrm
modulefinder.cpython-313.pyc284070644editdlrm
netrc.cpython-313.pyc93410644editdlrm
ntpath.cpython-313.pyc284840644editdlrm
nturl2path.cpython-313.pyc27520644editdlrm
numbers.cpython-313.pyc140470644editdlrm
opcode.cpython-313.pyc40770644editdlrm
operator.cpython-313.pyc173800644editdlrm
optparse.cpython-313.pyc675940644editdlrm
os.cpython-313.pyc458640644editdlrm
pdb.cpython-313.pyc1061180644editdlrm
pickle.cpython-313.pyc784190644editdlrm
pickletools.cpython-313.pyc804420644editdlrm
pkgutil.cpython-313.pyc199740644editdlrm
platform.cpython-313.pyc446900644editdlrm
plistlib.cpython-313.pyc431130644editdlrm
poplib.cpython-313.pyc184400644editdlrm
posixpath.cpython-313.pyc181150644editdlrm
pprint.cpython-313.pyc297130644editdlrm
profile.cpython-313.pyc225780644editdlrm
pstats.cpython-313.pyc378720644editdlrm
pty.cpython-313.pyc74200644editdlrm
pyclbr.cpython-313.pyc151590644editdlrm
pydoc.cpython-313.pyc1397200644editdlrm
py_compile.cpython-313.pyc100840644editdlrm
queue.cpython-313.pyc173480644editdlrm
quopri.cpython-313.pyc95750644editdlrm
random.cpython-313.pyc352710644editdlrm
reprlib.cpython-313.pyc111750644editdlrm
rlcompleter.cpython-313.pyc85870644editdlrm
runpy.cpython-313.pyc144060644editdlrm
sched.cpython-313.pyc76120644editdlrm
secrets.cpython-313.pyc25190644editdlrm
selectors.cpython-313.pyc263700644editdlrm
shelve.cpython-313.pyc133060644editdlrm
shlex.cpython-313.pyc148670644editdlrm
shutil.cpython-313.pyc674670644editdlrm
signal.cpython-313.pyc45590644editdlrm
site.cpython-313.pyc316620644editdlrm
smtplib.cpython-313.pyc473750644editdlrm
socket.cpython-313.pyc422340644editdlrm
socketserver.cpython-313.pyc346670644editdlrm
sre_compile.cpython-313.pyc6420644editdlrm
sre_constants.cpython-313.pyc6450644editdlrm
sre_parse.cpython-313.pyc6380644editdlrm
ssl.cpython-313.pyc652190644editdlrm
stat.cpython-313.pyc55380644editdlrm
statistics.cpython-313.pyc711130644editdlrm
string.cpython-313.pyc116660644editdlrm
stringprep.cpython-313.pyc252750644editdlrm
struct.cpython-313.pyc3400644editdlrm
subprocess.cpython-313.pyc819690644editdlrm
symtable.cpython-313.pyc232110644editdlrm
tabnanny.cpython-313.pyc124320644editdlrm
tarfile.cpython-313.pyc1258450644editdlrm
tempfile.cpython-313.pyc410080644editdlrm
textwrap.cpython-313.pyc179490644editdlrm
this.cpython-313.pyc14270644editdlrm
threading.cpython-313.pyc633120644editdlrm
timeit.cpython-313.pyc146530644editdlrm
token.cpython-313.pyc35880644editdlrm
tokenize.cpython-313.pyc254490644editdlrm
trace.cpython-313.pyc339780644editdlrm
traceback.cpython-313.pyc721390644editdlrm
tracemalloc.cpython-313.pyc274280644editdlrm
tty.cpython-313.pyc26790644editdlrm
turtle.cpython-313.pyc1751510644editdlrm
types.cpython-313.pyc155600644editdlrm
typing.cpython-313.pyc1545970644editdlrm
uuid.cpython-313.pyc323970644editdlrm
warnings.cpython-313.pyc295530644editdlrm
wave.cpython-313.pyc332520644editdlrm
weakref.cpython-313.pyc318180644editdlrm
webbrowser.cpython-313.pyc269010644editdlrm
zipapp.cpython-313.pyc104090644editdlrm
zipimport.cpython-313.pyc265220644editdlrm
_aix_support.cpython-313.pyc47320644editdlrm
_android_support.cpython-313.pyc76370644editdlrm
_apple_support.cpython-313.pyc34970644editdlrm
_collections_abc.cpython-313.pyc467080644editdlrm
_colorize.cpython-313.pyc40260644editdlrm
_compat_pickle.cpython-313.pyc72070644editdlrm
_compression.cpython-313.pyc78200644editdlrm
_ios_support.cpython-313.pyc27310644editdlrm
_markupbase.cpython-313.pyc124480644editdlrm
_opcode_metadata.cpython-313.pyc106930644editdlrm
_osx_support.cpython-313.pyc181420644editdlrm
_pydatetime.cpython-313.pyc945900644editdlrm
_pydecimal.cpython-313.pyc2170580644editdlrm
_pyio.cpython-313.pyc1117930644editdlrm
_pylong.cpython-313.pyc111730644editdlrm
_py_abc.cpython-313.pyc72070644editdlrm
_sitebuiltins.cpython-313.pyc49170644editdlrm
_strptime.cpython-313.pyc345000644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc585830644editdlrm
_threading_local.cpython-313.pyc55380644editdlrm
_weakrefset.cpython-313.pyc120640644editdlrm
__future__.cpython-313.pyc47370644editdlrm
__hello__.cpython-313.pyc9810644editdlrm
Edit: /opt/imh/python3.13/lib/python3.13/__pycache__/textwrap.cpython-313.pyc (17949B)
eMSrSSKr/SQrSr"SS5rSSjrSSjrS r\R"S \R5r \R"S \R5r S r SS jr \S:Xa\"\ "S55 gg)zText wrapping and filling. N) TextWrapperwrapfilldedentindentshortenz c\rSrSrSr\R \"\\ 5\"S55r Sr Sr S\ R"\ 5-rS\SS -r\ R""S \ \ \\S .-\ R$5rC C C\ R""S \-5rC\ R""S 5rSS SS.SjjrSrSrSrSrSrSrSrSrSrg )rab Object for wrapping/filling text. The public interface consists of the wrap() and fill() methods; the other methods are just there for subclasses to override in order to tweak the default behaviour. If you want to completely replace the main wrapping algorithm, you'll probably have to override _wrap_chunks(). Several instance attributes control various aspects of wrapping: width (default: 70) the maximum width of wrapped lines (unless break_long_words is false) initial_indent (default: "") string that will be prepended to the first line of wrapped output. Counts towards the line's width. subsequent_indent (default: "") string that will be prepended to all lines save the first of wrapped output; also counts towards each line's width. expand_tabs (default: true) Expand tabs in input text to spaces before further processing. Each tab will become 0 .. 'tabsize' spaces, depending on its position in its line. If false, each tab is treated as a single character. tabsize (default: 8) Expand tabs in input text to 0 .. 'tabsize' spaces, unless 'expand_tabs' is false. replace_whitespace (default: true) Replace all whitespace characters in the input text by spaces after tab expansion. Note that if expand_tabs is false and replace_whitespace is true, every tab will be converted to a single space! fix_sentence_endings (default: false) Ensure that sentence-ending punctuation is always followed by two spaces. Off by default because the algorithm is (unavoidably) imperfect. break_long_words (default: true) Break words longer than 'width'. If false, those words will not be broken, and some lines might be longer than 'width'. break_on_hyphens (default: true) Allow breaking hyphenated words. If true, wrapping will occur preferably on whitespaces and right after hyphens part of compound words. drop_whitespace (default: true) Drop leading and trailing whitespace from lines. max_lines (default: None) Truncate wrapped lines. placeholder (default: ' [...]') Append to the last line of truncated text.  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) ) ))wpltwsnwsz(%s+)z[a-z][\.\!\?][\"\']?\Zz [...]) max_lines placeholderc XlX lX0lX@lXPlX`lXplXlXlXl Xl Xl gN) widthinitial_indentsubsequent_indent expand_tabsreplace_whitespacefix_sentence_endingsbreak_long_wordsdrop_whitespacebreak_on_hyphenstabsizerr) selfrrrrrrrrrrrrs ./opt/imh/python3.13/lib/python3.13/textwrap.py__init__TextWrapper.__init__psI ,!2&"4$8! 0. 0 "&cUR(aURUR5nUR(aUR UR 5nU$)z_munge_whitespace(text : string) -> string Munge whitespace in text: expand tabs and convert all other whitespace characters to spaces. Eg. " foo\tbar\n\nbaz" becomes " foo bar baz". )r expandtabsrr translateunicode_whitespace_transrtexts r _munge_whitespaceTextWrapper._munge_whitespacesA   ??4<<0D  " ">>$"?"?@D r#cURSLaURRU5nOURRU5nUVs/sH o3(dM UPM nnU$s snf)a_split(text : string) -> [string] Split the text to wrap into indivisible chunks. Chunks are not quite the same as words; see _wrap_chunks() for full details. As an example, the text Look, goof-ball -- use the -b option! breaks into the following chunks: 'Look,', ' ', 'goof-', 'ball', ' ', '--', ' ', 'use', ' ', 'the', ' ', '-b', ' ', 'option!' if break_on_hyphens is True, or in: 'Look,', ' ', 'goof-ball', ' ', '--', ' ', 'use', ' ', 'the', ' ', '-b', ' ', option!' otherwise. T)r wordsep_resplitwordsep_simple_re)rr)chunkscs r _splitTextWrapper._splits\  D (__**40F++11$7F#)Vq!V) *s A#A#cSnURRnU[U5S- :aAXS-S:XaU"X5(a SXS-'US- nOUS- nU[U5S- :aM@gg)a7_fix_sentence_endings(chunks : [string]) Correct for sentence endings buried in 'chunks'. Eg. when the original text contains "... foo.\nBar ...", munge_whitespace() and split() will convert that to [..., "foo.", " ", "Bar", ...] which has one too few spaces; this method simply changes the one space to two. rr r z N)sentence_end_researchlen)rr0i patsearchs r _fix_sentence_endings!TextWrapper._fix_sentence_endingsss ((// #f+a-c{c!i &:&:"s QQ #f+a-r#cUS:aSnOXC- nUR(a{UnUSnUR(aG[U5U:a8URSSU5nUS:a[ SUSU55(aUS-nUR USU5 XvSUS'gU(d UR UR 55 gg)z_handle_long_word(chunks : [string], cur_line : [string], cur_len : int, width : int) Handle a chunk of text (most likely a word, not whitespace) that is too long to fit in any line. r -rc3*# UH oS:gv M g7f)r?N).0r1s r 0TextWrapper._handle_long_word..s%G13hsN)rrr8rfindanyappendpop) rreversed_chunkscur_linecur_lenr space_leftendchunkhyphens r _handle_long_wordTextWrapper._handle_long_words 19JJ  C#B'E$$Uj)@S!Z8A:#%Ggv%G"G"G 1*C OOE$3K ("'+OB   OOO//1 2r#c/nURS::a[SUR-5eURbqURS:a URnO URn[ U5[ UR R55-UR:a [S5eUR5 U(Ga /nSnU(a URnO URnUR[ U5- nUR(a!USR5S:Xa U(aUS U(aD[ US5nXW-U::a$URUR55 XW- nOO U(aMDU(a=[ US5U:a+URXXV5 [[[ U55nUR(a2U(a+USR5S:XaU[ US5-nUS U(GaURb`[ U5S-UR:dDU(a8UR(aQ[ U5S:XaBUSR5(d*XV::a%URUSR!U5-5 GO%U(aUSR5(a^U[ UR 5-U::aBURUR 5 URUSR!U5-5 U$U[ US5-nUS U(aMU(aVUSR#5n[ U5[ UR 5-UR::aXR -US'U$URX0R R5-5 U$U(aGM U$)aO_wrap_chunks(chunks : [string]) -> [string] Wrap a sequence of text chunks and return a list of lines of length 'self.width' or less. (If 'break_long_words' is false, some lines may be longer than this.) Chunks correspond roughly to words and the whitespace between them: each chunk is indivisible (modulo 'break_long_words'), but a line break can come between any two chunks. Chunks should not have internal whitespace; ie. a chunk is either all whitespace or a "word". Whitespace chunks will be removed from the beginning and end of lines, but apart from that whitespace is preserved. rzinvalid width %r (must be > 0)r z#placeholder too large for max widthr>)r ValueErrorrrrr8rlstripreverserstriprGrHrPsummapjoinrstrip) rr0linesrrJrKrl prev_lines r _wrap_chunksTextWrapper._wrap_chunkss0 ::?= JK K >> %~~!//,,6{S!1!1!8!8!:;;djjH !FGG HG//,,JJV,E##r (8(8(:b(@U2Jr O;%'OOFJJL1LG&#fRj/E1&&vHc#x01##Xb\5G5G5IR5O3x|,,RLNN*JNT^^3))[A%**0@LL"''(*;!;<"$RL..00#c$*:*:&;;uD$OOD,<,<=!LL"''(2C)CD!  3x|#44$RL#(!(-b (8(8(:I #IT5E5E1F F$(JJ!/,58H8H,Hb %  V.>.>.E.E.G%GH SfR r#cFURU5nURU5$r)r*r2r(s r _split_chunksTextWrapper._split_chunksUs!%%d+{{4  r#cURU5nUR(aURU5 URU5$)a.wrap(text : string) -> [string] Reformat the single paragraph in 'text' so it fits in lines of no more than 'self.width' columns, and return a list of wrapped lines. Tabs in 'text' are expanded with string.expandtabs(), and all other whitespace characters (including newline) are converted to space. )rbrr;r_)rr)r0s r rTextWrapper.wrap[s<##D)  $ $  & &v .  ((r#cBSRURU55$)zfill(text : string) -> string Reformat the single paragraph in 'text' to fit in lines of no more than 'self.width' columns, and return a new string containing the entire wrapped paragraph.  )rZrr(s r rTextWrapper.fillisyy4))r#) rrrrrrrrrrrr) FrSrSTTFTTT) __name__ __module__ __qualname____firstlineno____doc__dictfromkeysrYord _whitespacer' word_punctletterreescape whitespace nowhitespacecompileVERBOSEr-r/r6r!r*r2r;rPr_rbrr__static_attributes__rAr#r rrs.` $}}Sk-BCHM!J F299[11J*QR.(L ! 77" #J$ FL  8j#89jj"'(O  "#%!$(&+"&!%"&' %'> ,$!3ReN! )*r#rc >[SSU0UD6nURU5$)aWrap a single paragraph of text, returning a list of wrapped lines. Reformat the single paragraph in 'text' so it fits in lines of no more than 'width' columns, and return a list of wrapped lines. By default, tabs in 'text' are expanded with string.expandtabs(), and all other whitespace characters (including newline) are converted to space. See TextWrapper class for available keyword args to customize wrapping behaviour. rrA)rrr)rkwargsws r rrus$ *%*6*A 66$<r#c >[SSU0UD6nURU5$)a~Fill a single paragraph of text, returning a new string. Reformat the single paragraph in 'text' to fit in lines of no more than 'width' columns, and return a new string containing the entire wrapped paragraph. As with wrap(), tabs are expanded and other whitespace characters converted to space. See TextWrapper class for available keyword args to customize wrapping behaviour. rrA)rrr~s r rrs$ *%*6*A 66$<r#c [SUSS.UD6nURSRUR5R 555$)aCollapse and truncate the given text to fit in the given width. The text first has its whitespace collapsed. If it then fits in the *width*, it is returned as is. Otherwise, as many words as possible are joined and then the placeholder is appended:: >>> textwrap.shorten("Hello world!", width=12) 'Hello world!' >>> textwrap.shorten("Hello world!", width=11) 'Hello [...]' r )rrr rA)rrrZrWr.r~s r rrs? 7%177A 66#((4::<--/0 11r#z^[ ]+$z(^[ ]*)(?:[^ ])cSn[RSU5n[RU5nUHinUcUnM UR U5(aM"UR U5(aUnM<[ [ X55HunupVXV:wdMUSUn Mg Mk U(a[R"SU-SU5nU$)aRemove any common leading whitespace from every line in `text`. This can be used to make triple-quoted strings line up with the left edge of the display, while still presenting them in the source code in indented form. Note that tabs and spaces are both treated as whitespace, but they are not equal: the lines " hello" and "\thello" are considered to have no common leading whitespace. Entirely blank lines are normalized to a newline character. NrSz(?m)^) _whitespace_only_resub_leading_whitespace_refindall startswith enumeratezipr.rv)r)marginindentsrr9xylines r rrsF  " "2t ,D$,,T2G >F  v & &   v & &F 's6':; 6A6#BQZF<#. vvh'T2 Kr#cUcSn/nURS5H2nU"U5(aURU5 URU5 M4 SRU5$)a2Adds 'prefix' to the beginning of selected lines in 'text'. If 'predicate' is provided, 'prefix' will only be added to the lines where 'predicate(line)' is True. If 'predicate' is not provided, it will default to adding 'prefix' to all non-empty lines that do not consist solely of whitespace characters. c,UR5(+$r)isspace)ss r indent..s !))+or#TrS) splitlinesrGrZ)r)prefix predicateprefixed_linesrs r rrs_ . N% T??  ! !& )d#& 77> ""r#__main__z Hello there. This is indented.)rir)rorv__all__rsrrrrrz MULTILINErrrrrkprintrAr#r rs H  _*_*H   2$jjR\\:$;R\\J0f#0 z &4 56r#