Your IP : 3.144.237.52
���]+ � @ sR d d l Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d S)� Nc @ s7 e Z d Z d d � Z d d � Z d d d � Z d S)�Quitterc C s | | _ | | _ d S)N)�name�eof)�selfr r � r �2/opt/alt/python35/lib64/python3.5/_sitebuiltins.py�__init__ s zQuitter.__init__c C s d | j | j f S)NzUse %s() or %s to exit)r r )r r r r �__repr__ s zQuitter.__repr__Nc C s, y t j j � Wn Yn Xt | � � d S)N)�sys�stdin�close�
SystemExit)r �coder r r �__call__ s
zQuitter.__call__)�__name__�
__module__�__qualname__r r r r r r r r
s r c @ sL e Z d Z d Z f f d d � Z d d � Z d d � Z d d � Z d
S)�_Printer� c sJ d d l � | | _ | | _ d | _ � � f d d � | D� | _ d S)Nr c s2 g | ]( } � D] } � j j | | � � q q Sr )�path�join)�.0�dir�filename)�files�osr r �
<listcomp>( s z%_Printer.__init__.<locals>.<listcomp>)r �_Printer__name�_Printer__data�_Printer__lines�_Printer__filenames)r r �datar �dirsr )r r r r # s z_Printer.__init__c C s� | j r
d Sd } xP | j D]E } y* t | d � � } | j � } Wd QRXPWq t k
ra Yq Xq W| su | j } | j d � | _ t | j � | _ d S)N�r�
) r r �open�read�OSErrorr �split�len�_Printer__linecnt)r r! r �fpr r r �__setup, s
z_Printer.__setupc C sH | j � t | j � | j k r2 d j | j � Sd | j f d Sd S)Nr$ z!Type %s() to see the full %s text� )�_Printer__setupr) r �MAXLINESr r )r r r r r <