grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026o ®û|j8 ã@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ú4/opt/alt/python310/lib64/python3.10/_sitebuiltins.pyÚ__init__s zQuitter.__init__cCsd|j|jfS)NzUse %s() or %s to exitr©rrrr Ú__repr__szQuitter.__repr__NcCs&z tj ¡Wt|ƒ‚Yt|ƒ‚r)ÚsysÚstdinÚcloseÚ SystemExit)rÚcoderrr Ú__call__s  þzQuitter.__call__r)Ú__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 ||¡‘qqSr)Ú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Œ|jrdSd}|jD](}zt|dd�� }| ¡}Wdƒn1s"wYWn ty2Yq w|s8|j}| d¡|_t|jƒ|_dS)Nzutf-8)ÚencodingÚ ) r#r$ÚopenÚreadÚOSErrorr"ÚsplitÚlenÚ_Printer__linecnt)rr%rÚfprrr Ú__setup,s   ÿ ÿ z_Printer.__setupcCs4| ¡t|jƒ|jkrd |j¡Sd|jfdS)Nr(z!Type %s() to see the full %s texté)Ú_Printer__setupr-r#ÚMAXLINESrr!r rrr r <s z_Printer.__repr__cCs�| ¡d}d} zt|||jƒD] }t|j|ƒqWn ty'YdSw||j7}d}|durAt|ƒ}|dvr=d}|dus3|dkrGdSq )Nz0Hit Return for more, or q (and Return) to quit: ré)ÚÚqr6)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|i|¤ŽS)Nr)ÚpydocÚhelp)rÚargsÚkwdsrArrr resz_Helper.__call__N)rrrr?r rrrrr r@Xs r@)r?r Úobjectrrr@rrrr Ús  ;