ok
Direktori : /proc/self/root/opt/alt/python38/lib64/python3.8/encodings/__pycache__/ |
Current File : //proc/self/root/opt/alt/python38/lib64/python3.8/encodings/__pycache__/quopri_codec.cpython-38.pyc |
U .��c� � @ s� d Z ddlZddlZddlmZ ddd�Zddd�ZG d d � d ej�ZG dd� dej�ZG d d� dej �Z G dd� deej �Z G dd� deej�Zdd� ZdS )zQCodec for quoted-printable encoding. This codec de/encodes from bytes to bytes. � N)�BytesIO�strictc C s: |dkst �t| �}t� }tj||dd� |�� t| �fS )Nr T)Z quotetabs)�AssertionErrorr �quopri�encode�getvalue�len��input�errors�f�g� r �;/opt/alt/python38/lib64/python3.8/encodings/quopri_codec.py� quopri_encode s r c C s6 |dkst �t| �}t� }t�||� |�� t| �fS )Nr )r r r �decoder r r r r r � quopri_decode s r c @ s e Zd Zddd�Zddd�ZdS ) �Codecr c C s t ||�S �N)r ��selfr r r r r r s zCodec.encodec C s t ||�S r )r r r r r r s zCodec.decodeN)r )r )�__name__� __module__�__qualname__r r r r r r r s r c @ s e Zd Zddd�ZdS )�IncrementalEncoderFc C s t || j�d S �Nr )r r �r r �finalr r r r s zIncrementalEncoder.encodeN)F)r r r r r r r r r s r c @ s e Zd Zddd�ZdS )�IncrementalDecoderFc C s t || j�d S r )r r r r r r r # s zIncrementalDecoder.decodeN)F)r r r r r r r r r "