AlkantarClanX12

Your IP : 18.225.56.79


Current Path : /proc/self/root/opt/alt/python39/lib64/python3.9/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python39/lib64/python3.9/__pycache__/_sitebuiltins.cpython-39.pyc

a

R�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/python39/lib64/python3.9/_sitebuiltins.py�__init__szQuitter.__init__cCsd|j|jfS)NzUse %s() or %s to exitr�rrrr	�__repr__szQuitter.__repr__NcCs(ztj��WnYn0t|��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	�
<listcomp>(s�z%_Printer.__init__.<locals>.<listcomp>)r�_Printer__name�_Printer__data�_Printer__lines�_Printer__filenames)rr�datar�dirsrrr	r
#s�z_Printer.__init__c	Cs�|jr
dSd}|jD]T}z<t|d��}|��}Wd�n1sB0YWqjWqtyfYq0q|st|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!rrrr	r<sz_Printer.__repr__cCs�|��d}d}z(t|||j�D]}t|j|�q"WntyNYq�Yq0||j7}d}|dur|t|�}|dvr^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.rrrrr	rbsz_Helper.__repr__cOsddl}|j|i|��S)Nr)�pydoc�help)r�args�kwdsr@rrr	resz_Helper.__call__N)rrrr>rrrrrr	r?Xs	r?)r>r
�objectrrr?rrrr	�<module>s
;