관리-도구
편집 파일: parser.cpython-311.opt-2.pyc
� c��f� � � � g d �Z ddlmZmZ ddlmZmZ ddlmZ G d� d� � Z G d� de � � Z G d � d � � Z G d� de� � Zd S ))�Parser�HeaderParser�BytesParser�BytesHeaderParser� FeedParser�BytesFeedParser� )�StringIO� TextIOWrapper)r r )�compat32c �, � e Zd Zded�d�Zdd�Zdd�ZdS ) r N��policyc �$ � || _ || _ d S �N)�_classr )�selfr r s �3/opt/alt/python311/lib64/python3.11/email/parser.py�__init__zParser.__init__ s � � �( �������� Fc �� � t | j | j �� � }|r|� � � |� d� � }|sn|� |� � �.|� � � S )Nr Ti )r r r �_set_headersonly�read�feed�close)r �fp�headersonly� feedparser�datas r �parsezParser.parse) s� � � � ���D�K�@�@�@� �� *��'�'�)�)�)� "��7�7�4�=�=�D�� ���O�O�D�!�!�!� "� ���!�!�!r c �L � | � t |� � |�� � S )N�r )r r �r �textr s r �parsestrzParser.parsestr; s% � � � �z�z�(�4�.�.�k�z�B�B�Br r �F)�__name__� __module__�__qualname__r r r r$ � r r r r sb � � � � � ��h� � � � � �0"� "� "� "�$C� C� C� C� C� Cr r c � � e Zd Zdd�Zdd�ZdS )r Tc �: � t � | |d� � S �NT)r r �r r r s r r zHeaderParser.parseG s � ��|�|�D�"�d�+�+�+r c �: � t � | |d� � S r, )r r$ r"