관리-도구
편집 파일: quopri_codec.cpython-39.opt-1.pyc
a R�f� � @ 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. t | �}t � }tj||dd� |�� t| �fS )NT)Z quotetabs)r �quopri�encode�getvalue�len��input�errors�f�g� r �;/opt/alt/python39/lib64/python3.9/encodings/quopri_codec.py� quopri_encode s r c C s* t | �}t � }t�||� |�� t| �fS �N)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 r )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 "