관리-도구
편집 파일: quopri_codec.cpython-312.opt-1.pyc
� �Q�f� � � � d Z ddlZddlZddlmZ dd�Zdd�Z G d� dej � Z G d� d ej � Z G d � dej � Z G d� d eej � Z G d� deej � Zd� Zy)zQCodec for quoted-printable encoding. This codec de/encodes from bytes to bytes. � N)�BytesIOc � � t | � }t � }t j ||d�� |j � t | � fS )NT)� quotetabs)r �quopri�encode�getvalue�len��input�errors�f�gs �=/opt/alt/python312/lib64/python3.12/encodings/quopri_codec.py� quopri_encoder s7 � ����A�� �A� �M�M�!�Q�$�'� �J�J�L�#�e�*�%�%� c � � t | � }t � }t j ||� |j � t | � fS �N)r r �decoder r r s r � quopri_decoder s5 � ����A�� �A� �M�M�!�Q�� �J�J�L�#�e�*�%�%r c � � e Zd Zdd�Zdd�Zy)�Codecc � � t ||� S r )r ��selfr r s r r zCodec.encode � � ��U�F�+�+r c � � t ||� S r )r r s r r zCodec.decode r r N��strict)�__name__� __module__�__qualname__r r � r r r r s � �,�,r r c � � e Zd Zdd�Zy)�IncrementalEncoderc �4 � t || j � d S �Nr )r r �r r �finals r r zIncrementalEncoder.encode � � ��U�D�K�K�0��3�3r N�F)r r r! r r"