AlkantarClanX12

Your IP : 3.144.114.8


Current Path : /proc/self/root/opt/alt/python35/lib64/python3.5/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python35/lib64/python3.5/__pycache__/_sitebuiltins.cpython-35.opt-2.pyc



���]+�@sRddlZGdd�de�ZGdd�de�ZGdd�de�ZdS)�Nc@s7eZdZdd�Zdd�Zddd�ZdS)�QuittercCs||_||_dS)N)�name�eof)�selfrr�r�2/opt/alt/python35/lib64/python3.5/_sitebuiltins.py�__init__s	zQuitter.__init__cCsd|j|jfS)NzUse %s() or %s to exit)rr)rrrr�__repr__szQuitter.__repr__Nc	Cs,ytjj�WnYnXt|��dS)N)�sys�stdin�close�
SystemExit)r�coderrr�__call__s
zQuitter.__call__)�__name__�
__module__�__qualname__rr	rrrrrr
src@sLeZdZdZffdd�Zdd�Zdd�Zdd	�Zd
S)�_Printer�csJddl�||_||_d|_��fdd�|D�|_dS)Nrcs2g|](}�D]}�jj||��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�dirsr)rrrr#s			z_Printer.__init__cCs�|jr
dSd}xP|jD]E}y*t|d��}|j�}WdQRXPWqtk
raYqXqW|su|j}|jd�|_t|j�|_dS)N�r�
)	rr �open�read�OSErrorr�split�len�_Printer__linecnt)rr!r�fprrr�__setup,s	
		z_Printer.__setupcCsH|j�t|j�|jkr2dj|j�Sd|jfdSdS)Nr$z!Type %s() to see the full %s text�)�_Printer__setupr)r�MAXLINESrr)rrrrr	<s
z_Printer.__repr__cCs�|j�d}d}x�y6x/t|||j�D]}t|j|�q3WWntk
rdPYqX||j7}d}x.|dkr�t|�}|dkr{d}q{W|dkrPqWdS)Nz0Hit Return for more, or q (and Return) to quit: r��q)r0r1)r.�ranger/�printr�
IndexError�input)r�prompt�lineno�i�keyrrrrCs"



z_Printer.__call__N)rrrr/rr.r	rrrrrrs
	rc@s(eZdZdd�Zdd�ZdS)�_HelpercCsdS)NzHType help() for interactive help, or help(object) for help about object.r)rrrrr	bsz_Helper.__repr__cOsddl}|j||�S)Nr)�pydoc�help)r�args�kwdsr;rrrresz_Helper.__call__N)rrrr	rrrrrr:Xs
r:)r
�objectrrr:rrrr�<module>s;