AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python39/lib64/python3.9/__pycache__/ |
Current File : //proc/self/root/opt/alt/python39/lib64/python3.9/__pycache__/quopri.cpython-39.opt-2.pyc |
a R�fo � @ s� g d �Z dZdZdZdZzddlmZmZ W n eyF dZdZY n0 dd � Z d d� Z dd d�Zddd�Zddd�Z ddd�Zdd� Zdd� Zdd� Zedkr�e� dS ) )�encode�decode�encodestring�decodestring� =�L s 0123456789ABCDEF� � )�a2b_qp�b2a_qpNc C s: | dv r|S | dkr|S | t kp8d| ko2dkn S )N� � _� � ~)�ESCAPE)�c� quotetabs�header� r �+/opt/alt/python39/lib64/python3.9/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 ur,| �� }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 ur�||� t� | �}t |�tk�r||d td � d d� |td d � }q�|}q>|d u�r.||| d� d S )N�r r � c S sj | r<| dd � dv r<|� | 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"