o
    áË·eÝ  ã                   @   sl   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g d¢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   ó    ddl 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   úV/var/www/ideatree/venv/lib/python3.10/site-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"   )r   r#   r%   )r&   r   r   r#   r   r   r    r   H   r!   r   N)Ú__doc__Ú
__future__r   r   r   Úfuture.utilsr   Úregister_surrogateescapeÚ__version__Ú__all__r   r   r   r   r   r   r   r    Ú<module>   s   