Your IP : 3.147.69.25


Current Path : /opt/alt/python311/lib64/python3.11/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/_sitebuiltins.cpython-311.opt-1.pyc

�

c��f8��f�dZddlZGd�de��ZGd�de��ZGd�de��ZdS)	z=
The objects used by the site module to add custom builtins.
�Nc�"�eZdZd�Zd�Zdd�ZdS)�Quitterc�"�||_||_dS�N��name�eof)�selfrr	s   �4/opt/alt/python311/lib64/python3.11/_sitebuiltins.py�__init__zQuitter.__init__s����	������c�(�d|j�d|j�d�S)NzUse z() or z to exitr�r
s r�__repr__zQuitter.__repr__s���+/�9�9�9�d�h�h�h�?�?r
Nc�n�	tj���n#YnxYwt|���r)�sys�stdin�close�
SystemExit)r
�codes  r�__call__zQuitter.__call__s8��	��I�O�O������	��D��������s�!�%r)�__name__�
__module__�__qualname__rrr�r
rrr
sI���������@�@�@������r
rc�0�eZdZdZdZd	d�Zd�Zd�Zd�ZdS)
�_Printerzninteractive prompt objects for printing the license text, a list of
    contributors and the copyright notice.�rc�d���ddl�||_||_d|_��fd�|D��|_dS)Nrc�P��g|]"}�D]}�j�||�����#Sr)�path�join)�.0�dir�filename�files�oss   ��r�
<listcomp>z%_Printer.__init__.<locals>.<listcomp>(sN���3�3�3� #�,1�3�3� (��G�L�L��h�7�7�3�3�3�3r
)r'�_Printer__name�_Printer__data�_Printer__lines�_Printer__filenames)r
r�datar&�dirsr's   ` @rrz_Printer.__init__#sX�����	�	�	����������3�3�3�3�3�'+�3�3�3����r
c�F�|jrdSd}|jD]Q}	t|d���5}|���}ddd��n#1swxYwYn#t$rY�NwxYw|s|j}|�d��|_t|j��|_dS)Nzutf-8)�encoding�
)	r+r,�open�read�OSErrorr*�split�len�_Printer__linecnt)r
r-r%�fps    r�__setupz_Printer.__setup,s����<�	��F����(�	�	�H�
��(�W�5�5�5�%���7�7�9�9�D�%�%�%�%�%�%�%�%�%�%�%����%�%�%�%�����
�
�
���
�����	��;�D��z�z�$�'�'����T�\�*�*����s3�A�A�A�A	�A�A	�A�
A"�!A"c��|���t|j��|jkrd�|j��Sd|jfdzzS)Nr1z!Type %s() to see the full %s text�)�_Printer__setupr6r+�MAXLINESr"r)rs rrz_Printer.__repr__<sN���������t�|����
�-�-��9�9�T�\�*�*�*�6�4�;�.��:J�K�Kr
c�"�|���d}d}		t|||jz��D]}t|j|���	||jz
}d}|�t|��}|dvrd}|�|dkrdSn#t$rYdSwxYw�w)Nz0Hit Return for more, or q (and Return) to quit: r�)��qrA)r<�ranger=�printr+�input�
IndexError)r
�prompt�lineno�i�keys     rrz_Printer.__call__Cs���������C����	�

��v�v��
�'=�>�>�+�+�A��$�,�q�/�*�*�*�*�+�
�$�-�'�����k���-�-�C��)�+�+�"���k��#�:�:��E����
�
�
����
����		s�5A?�?
B
�B
N)rr)	rrr�__doc__r=rr<rrrr
rrrsi������.�.��H�3�3�3�3�+�+�+� L�L�L�����r
rc��eZdZdZd�Zd�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'.
    c��dS)NzHType help() for interactive help, or help(object) for help about object.rrs rrz_Helper.__repr__bs��8�8r
c�$�ddl}|j|i|��S)Nr)�pydoc�help)r
�args�kwdsrOs    rrz_Helper.__call__es"�������u�z�4�(�4�(�(�(r
N)rrrrJrrrr
rrLrLXs<��������8�8�8�)�)�)�)�)r
rL)rJr�objectrrrLrr
r�<module>rTs������
�
�
�
�
�
�
�
�f�
�
�
� 8�8�8�8�8�v�8�8�8�v)�)�)�)�)�f�)�)�)�)�)r

?>