File: //lib/python3/dist-packages/future/backports/email/__pycache__/__init__.cpython-310.pyc
o
    ,�]�  �                   @   sl   d Z ddlmZ ddlmZ ddlmZ ddlmZ e��  dZg d�Z	dd	� Z
d
d� Zdd
� Zdd� Z
dS )z~
Backport of the Python 3.3 email package for Python-Future.
A package for parsing, handling, and generating email messages.
�    )�unicode_literals)�division)�absolute_import)�surrogateescapez5.1.0)�
base64mime�charset�encoders�errors�
feedparser�	generator�header�	iterators�message�message_from_file�message_from_binary_file�message_from_string�message_from_bytes�mime�parser�
quoprimime�utilsc                 O   �    ddl m} ||i |���| �S )zvParse a string into a Message object model.
    Optional _class and strict are passed to the Parser constructor.
    r   ��Parser)�future.backports.email.parserr   �parsestr)�s�args�kwsr   � r   �A/usr/lib/python3/dist-packages/future/backports/email/__init__.pyr   0   �   r   c                 O   r   )z|Parse a bytes string into a Message object model.
    Optional _class and strict are passed to the Parser constructor.
    r   ��BytesParser)r   r#   �
parsebytes)r   r   r   r#   r   r   r    r   8   r!   r   c                 O   r   )z�Read a file and parse its contents into a Message object model.
    Optional _class and strict are passed to the Parser constructor.
    r   r   )r   r   �parse)�fpr   r   r   r   r   r    r   @   r!   r   c                 O   r   )z�Read a binary file and parse its contents into a Message object model.
    Optional _class and strict are passed to the Parser constructor.
    r   r"