Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/email/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/email/__pycache__/parser.cpython-314.pyc

+
��h����Rt.R
Ot^RIHtHt^RIHtHt^RIH	t	!RR4t
!R	R]
4t!R
R4t!RR]4t
R#)z-A parser of RFC 2822 and MIME email messages.�Parser�HeaderParser�BytesParser�BytesHeaderParser)�StringIO�
TextIOWrapper)�
FeedParser�BytesFeedParser)�compat32c�Fa�]tRt^toRR]/RlltRRltRRltRtVt	R#)	rN�policyc��WnW nR#)aParser of RFC 2822 and MIME email messages.

Creates an in-memory object tree representing the email message, which
can then be manipulated and turned over to a Generator to return the
textual representation of the message.

The string must be formatted as a block of RFC 2822 headers and header
continuation lines, optionally preceded by a 'Unix-from' header.  The
header block is terminated either by the end of the string or by a
blank line.

_class is the class to instantiate for new message objects when they
must be created.  This class must have a constructor that can take
zero arguments.  Default is Message.Message.

The policy keyword specifies a policy object that controls a number of
aspects of the parser's operation.  The default policy maintains
backward compatibility.

N��_classr)�selfrrs&&$�HC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\email\parser.py�__init__�Parser.__init__s��*����c���\VPVPR7pV'dVP4VP	R4;p'dVPV4K,VP
4#)a4Create a message structure from the data in a file.

Reads all the data from the file and returns the root of the message
structure.  Optional headersonly is a flag specifying whether to stop
parsing after reading the headers or not.  The default is False,
meaning it parses the entire contents of the file.
)ri )rrr�_set_headersonly�read�feed�close)r�fp�headersonly�
feedparser�datas&&&  r�parse�Parser.parse)sU�� ����D�K�K�@�
���'�'�)��g�g�d�m�#�d�#��O�O�D�!����!�!rc�:�VP\V4VR7#)aCreate a message structure from a string.

Returns the root of the message structure.  Optional headersonly is a
flag specifying whether to stop parsing after reading the headers or
not.  The default is False, meaning it parses the entire contents of
the file.
�r)rr�r�textrs&&&r�parsestr�Parser.parsestr8s���z�z�(�4�.�k�z�B�Brr)N�F)
�__name__�
__module__�__qualname__�__firstlineno__r
rrr$�__static_attributes__�__classdictcell__��
__classdict__s@rrrs"�����h��0
"�C�Crc�4a�]tRt^CtoRRltRRltRtVtR#)rc�.�\PWR4#�T)rr�rrrs&&&rr�HeaderParser.parseDs���|�|�D�d�+�+rc�.�\PWR4#r1)rr$r"s&&&rr$�HeaderParser.parsestrGs�����t�4�0�0r�Nr1)r'r(r)r*rr$r+r,r-s@rrrCs����,�1�1rc�:a�]tRt^KtoRtRRltRRltRtVtR#)rc�&�\V/VBVnR#)axParser of binary RFC 2822 and MIME email messages.

Creates an in-memory object tree representing the email message, which
can then be manipulated and turned over to a Generator to return the
textual representation of the message.

The input must be formatted as a block of RFC 2822 headers and header
continuation lines, optionally preceded by a 'Unix-from' header.  The
header block is terminated either by the end of the input or by a
blank line.

_class is the class to instantiate for new message objects when they
must be created.  This class must have a constructor that can take
zero arguments.  Default is Message.Message.
N)r�parser)r�args�kws&*,rr�BytesParser.__init__Ms�� �d�)�b�)��rc��\VRRR7pVPPW4VP4# TP4i;i)a;Create a message structure from the data in a binary file.

Reads all the data from the file and returns the root of the message
structure.  Optional headersonly is a flag specifying whether to stop
parsing after reading the headers or not.  The default is False,
meaning it parses the entire contents of the file.
�ascii�surrogateescape)�encoding�errors)rr9r�detachr2s&&&rr�BytesParser.parse_s=���2��8I�
J��	��;�;�$�$�R�5��I�I�K��B�I�I�K�s	�;�A
c�^�VPRRR7pVPPW4#)a
Create a message structure from a byte string.

Returns the root of the message structure.  Optional headersonly is a
flag specifying whether to stop parsing after reading the headers or
not.  The default is False, meaning it parses the entire contents of
the file.
�ASCIIr?)rA)�decoder9r$r"s&&&r�
parsebytes�BytesParser.parsebytesns,���{�{�7�+<�{�=���{�{�#�#�D�6�6r)r9Nr&)	r'r(r)r*rrrGr+r,r-s@rrrKs����*�$�	7�	7rc�4a�]tRt^ztoRRltRRltRtVtR#)rc�0�\PWRR7#�Tr!)rrr2s&&&rr�BytesHeaderParser.parse{s��� � ��t� �<�<rc�0�\PWRR7#rK)rrGr"s&&&rrG�BytesHeaderParser.parsebytes~s���%�%�d�d�%�C�Crr6Nr1)r'r(r)r*rrGr+r,r-s@rrrzs����=�D�DrN)rrrrrr	)�__doc__�__all__�iorr�email.feedparserrr	�email._policybaser
rrrrr6rr�<module>rTsN��
4�,��'�8�&�0C�0C�f1�6�1�,7�,7�^D��Dr