grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026U iÛf+ ã@s@dZddlZGdd„deƒZGdd„deƒZGdd„deƒZdS) z= The objects used by the site module to add custom builtins. éNc@s&eZdZdd„Zdd„Zddd„ZdS) ÚQuittercCs||_||_dS©N©ÚnameÚeof)Úselfrr©rú2/opt/alt/python38/lib64/python3.8/_sitebuiltins.pyÚ__init__szQuitter.__init__cCsd|j|jfS)NzUse %s() or %s to exitr©rrrr Ú__repr__szQuitter.__repr__NcCs(ztj ¡Wn YnXt|ƒ‚dSr)ÚsysÚstdinÚcloseÚ SystemExit)rÚcoderrr Ú__call__s zQuitter.__call__)N)Ú__name__Ú __module__Ú __qualname__r r rrrrr r src@s6eZdZdZdZd dd„Zdd„Zdd „Zd d „Zd S)Ú_Printerzninteractive prompt objects for printing the license text, a list of contributors and the copyright notice.ércs4ddl‰||_||_d|_‡‡fdd„|Dƒ|_dS)Nrcs$g|]}ˆD]}ˆj ||¡‘q qSr)ÚpathÚjoin)Ú.0ÚdirÚfilename©ÚfilesÚosrr Ú (sþz%_Printer.__init__..)rÚ_Printer__nameÚ_Printer__dataÚ_Printer__linesÚ_Printer__filenames)rrÚdatarÚdirsrrr r #s ÿz_Printer.__init__c Cs~|jr dSd}|jD]B}z(t|dƒ�}| ¡}W5QRXWqXWqtk rTYqXq|sb|j}| d¡|_t|jƒ|_dS)NÚrÚ ) r#r$ÚopenÚreadÚOSErrorr"ÚsplitÚlenÚ_Printer__linecnt)rr%rÚfprrr Ú__setup,s    z_Printer.__setupcCs8| ¡t|jƒ|jkr$d |j¡Sd|jfdSdS)Nr(z!Type %s() to see the full %s texté)Ú_Printer__setupr-r#ÚMAXLINESrr!r rrr r <s z_Printer.__repr__cCsŽ| ¡d}d}z(t|||jƒD]}t|j|ƒq"Wntk rPYqŠYqX||j7}d}|dkr~t|ƒ}|dkr`d}q`|dkrqŠqdS)Nz0Hit Return for more, or q (and Return) to quit: r)ÚÚqr5)r2Úranger3Úprintr#Ú IndexErrorÚinput)rÚpromptÚlinenoÚiÚkeyrrr rCs   z_Printer.__call__N)rr) rrrÚ__doc__r3r r2r rrrrr rs  rc@s eZdZdZdd„Zdd„ZdS)Ú_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'. cCsdS)NzHType help() for interactive help, or help(object) for help about object.rr rrr r bsz_Helper.__repr__cOsddl}|j||ŽS)Nr)ÚpydocÚhelp)rÚargsÚkwdsr@rrr resz_Helper.__call__N)rrrr>r rrrrr r?Xs r?)r>r Úobjectrrr?rrrr Ús ;