Edit File: encoders.cpython-311.pyc
� �����f������������������������H�����d�Z�g�d�ZddlmZ�ddlmZ�d��Zd��Z d��Z d��Zd ��Zd S�)z Encodings and related functions.)�encode_7or8bit� encode_base64�encode_noop� encode_quopri�����)�encodebytes)�encodestringc������������������P�����t����������|�d�������������}|���������������������dd������������S�)NT)� quotetabs���� s���=20)� _encodestring�replace)�s�encs��� �5/opt/alt/python311/lib64/python3.11/email/encoders.py�_qencoder������s(������ ��T� *� *� *�C��;�;�t�V�$�$�$�����c�����������������������|�����������������������d�������������}t����������t����������|������������d������������}|����������������������|�������������d|�d<���dS�)zlEncode the message's payload in Base64. Also, add an appropriate Content-Transfer-Encoding header. T��decode�ascii�base64�Content-Transfer-EncodingN)�get_payload�str�_bencode�set_payload��msg�orig�encdatas��� r���r���r������sO������ ��?�?�$�?�'�'�D��(�4�.�.�'�*�*�G��O�O�G����'/�C�#�$�$�$r���c�����������������������|�����������������������d�������������}t����������|������������}|����������������������|�������������d|�d<���dS�)zvEncode the message's payload in quoted-printable. Also, add an appropriate Content-Transfer-Encoding header. Tr���zquoted-printabler���N)r���r���r���r���s��� r���r���r���$���sE������ ��?�?�$�?�'�'�D��t�n�n�G��O�O�G����'9�C�#�$�$�$r���c�����������������������|�����������������������d�������������}|�d|�d<���dS� �|���������������������d�������������d|�d<���dS�#�t����������$�r �d|�d<���Y�dS�w�xY�w)z9Set the Content-Transfer-Encoding header to 7bit or 8bit.Tr���N�7bitr���r����8bit)r���r����UnicodeError)r���r���s��� r���r���r���/���s��������?�?�$�?�'�'�D��|�+1��'�(���2����G�����,2��'�(�(�(�����2��2��2�+1��'�(�(�(�(�2���s����=��A�Ac�����������������������dS�)zDo nothing.N��)r���s��� r���r���r���@���s���������r���N) �__doc__�__all__r���r���r����quoprir���r���r���r���r���r���r���r'���r���r����<module>r+������s������ �'��&��������+��*��*��*��*��*��0��0��0��0��0��0�%��%��%�0��0��0�:��:��:�2��2��2�"��������r���