U
    h                     @   s   d Z ddlmZ ddlmZ ddlmZ ddlmZ e  dZddd	d
dddddddddddddgZ	dd Z
dd Zdd Zdd ZdS )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)surrogateescapez5.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   s   ddl m} |||| 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   Q/var/www/html/venv/lib/python3.8/site-packages/future/backports/email/__init__.pyr   0   s    c                 O   s   ddl m} |||| S )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   s    c                 O   s   ddl m} |||| S )zRead 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   @   s    c                 O   s   ddl m} |||| S )zRead a binary file and parse its contents into a Message object model.

    Optional _class and strict are passed to the Parser constructor.
    r   r    )r   r!   r#   )r$   r   r   r!   r   r   r   r   H   s    N)__doc__
__future__r   r   r   Zfuture.utilsr   Zregister_surrogateescape__version____all__r   r   r   r   r   r   r   r   <module>   s8   