Your IP : 3.140.195.142


Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/_sitebuiltins.cpython-310.opt-2.pyc

o

6��f8�@s>	ddlZGdd�de�ZGdd�de�ZGdd�de�ZdS)�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@s4eZdZ	dZddd�Zdd�Zdd�Zd	d
�ZdS)
�_Printer�rcs4ddl�||_||_d|_��fdd�|D�|_dS)Nrcs$g|]}�D]	}�j�||��qqSr)�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�|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!rrrr	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)rrrr3r
r2rrrrrr	rs
	rc@seZdZ	dd�Zdd�ZdS)�_HelpercCsdS)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rrrrr	r?Xs	r?)r
�objectrrr?rrrr	�<module>s

;

?>