Qf8 RdZddlZGddeZGddeZGddeZy) z= The objects used by the site module to add custom builtins. Nc eZdZdZdZddZy)Quitterc ||_||_yNnameeof)selfrr s 4/opt/alt/python312/lib64/python3.12/_sitebuiltins.py__init__zQuitter.__init__s c<d|jd|jdS)NzUse z() or z to exitrr s r __repr__zQuitter.__repr__s+/99dhh??r Ncx tjjt|#Yt|xYwr)sysstdinclose SystemExit)r codes r __call__zQuitter.__call__s7  IIOO   s+9r)__name__ __module__ __qualname__r rrr r rr s@r rc.eZdZdZdZddZdZdZdZy) _Printerzninteractive prompt objects for printing the license text, a list of contributors and the copyright notice.c ddl}||_||_d|_|Dcgc]%}|D]}|jj || 'c}}|_ycc}}wNr)os_Printer__name_Printer__data_Printer__linespathjoin_Printer__filenames)r rdatafilesdirsr!dirfilenames r r z_Printer.__init__#s[   '+3'+,1GGLLh7,18'+33s*AcF|jryd}|jD]*} t|d5}|j}dddn|s |j }|j d|_t|j|_y#1swYKxYw#t$rYwxYw)Nzutf-8)encoding ) r$r'openreadOSErrorr#splitlen_Printer__linecnt)r r(r,fps r __setupz_Printer.__setup,s << ((H (W5779D6 );;Dzz$' T\\*65  s' BBBB B B B c|jt|j|jkrdj |jSd|j fdzzS)Nr/z!Type %s() to see the full %s text)_Printer__setupr4r$MAXLINESr&r"rs r rz_Printer.__repr__<sI  t||  -99T\\* *64;;.:JK Kr c|jd}d} t|||jzD]}t|j| ||jz }d}|t |}|dvrd}||dk(ryf#t $rYywxYw)Nz0Hit Return for more, or q (and Return) to quit: r)qr>)r:ranger;printr$input IndexError)r promptlinenoikeys r rz_Printer.__call__Cs C vv '=>A$,,q/*? $--'k-C)+"k#:  s6A<< BBN)rr) rrr__doc__r;r r:rrrr r rrs#.H3+ Lr rceZdZdZdZdZy)_Helpera3Define the builtin 'help'. This is a wrapper around pydoc.help that provides a helpful message when 'help' is typed at the Python interactive prompt. Calling help() at the Python prompt starts an interactive help session. Calling help(thing) prints help for the python object 'thing'. cy)NzHType help() for interactive help, or help(object) for help about object.rrs r rz_Helper.__repr__bs8r c.ddl}|j|i|Sr )pydochelp)r argskwdsrLs r rz_Helper.__call__esuzz4(4((r N)rrrrGrrrr r rIrIXs8)r rI)rGrobjectrrrIrr r rQs4  f  8v8v)f)r