AlkantarClanX12
Current Path : /proc/self/root/lib64/python3.8/__pycache__/ |
Current File : //proc/self/root/lib64/python3.8/__pycache__/quopri.cpython-38.opt-2.pyc |
U e5dT � @ s� d dddgZ dZdZdZdZzdd lmZmZ W n ek rL d Zd ZY nX dd� Z d d� Z ddd �Zddd�Zddd�Z ddd�Zdd� Zdd� Zdd� Zedkr�e� d S )�encode�decode�encodestring�decodestring� =�L s 0123456789ABCDEF� � )�a2b_qp�b2a_qpNc C s: | dkr|S | dkr|S | t kp8d| ko2dkn S )N� � _� � ~)�ESCAPE)�c� quotetabs�header� r �/usr/lib64/python3.8/quopri.py�needsquoting s r c C s( t | �} ttt| d t| d f� S )N� )�ordr �bytes�HEX�r r r r �quote$ s r Fc C s2 t d k r,| �� }t |||d�}|�|� d S |dfdd�}d }| �� }|sN�qg } d} |dd � dkrv|d d� }d} |D ]D}t|f�}t|||�r�t|�}|r�|dkr�| �d� qz| �|� qz|d k r�||� t� | �}t |�tk�r||d td � d d� |td d � }q�|}q>|d k �r.||| d� d S )N�r r � c S sj | r<| dd � dkr<|� | d d� t| dd � � | � n*| dkrX|� t| �| � n|� | | � d S )N���r � .)�writer )�s�output�lineEndr r r r ; s (zencode.<locals>.writer r r r � s = )r# )r �readr �readliner r r �append�EMPTYSTRING�join�len�MAXLINESIZE) �inputr"