https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/future/backports/email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/future/backports/email/__pycache__/iterators.cpython-310.pyc
o

,�],	�@szdZddlmZddlmZddlmZddlmZgd�ZddlZddlm	Z	d	d
�Z
ddd
�Zddd�Zddd�Z
dS)z1Various types of useful iterators and generators.�)�print_function)�unicode_literals)�division)�absolute_import)�body_line_iterator�typed_subpart_iterator�walkN)�StringIOccs:�|V|��r|��D]}|��D]}|VqqdSdS)z�Walk over the message tree, yielding each subpart.

    The walk is performed in depth-first order.  This method is a
    generator.
    N)�is_multipart�get_payloadr)�self�subpart�
subsubpart�r�B/usr/lib/python3/dist-packages/future/backports/email/iterators.pyrs���rFccs>�|��D]}|j|d�}t|t�rt|�D]}|VqqdS)z�Iterate over the parts, returning string payloads line-by-line.

    Optional decode (default False) is passed through to .get_payload().
    )�decodeN)rr�
isinstance�strr	)�msgrr
�payload�linerrrr%s�
��r�textccs:�|��D]}|��|kr|dus|��|kr|VqdS)z�Iterate over the subparts with a given MIME type.

    Use `maintype' as the main MIME type to match against; this defaults to
    "text".  Optional `subtype' is the MIME subtype to match against; if
    omitted, only the main type is matched.
    N)r�get_content_maintype�get_content_subtype)r�maintype�subtyper
rrrr1s���rcCs�|durtj}d|d}t||��d|d�|r%td|��|d�nt|d�|��r>|��D]
}t|||d|�q2dSdS)	zA handy debugging aidN� ��)�end�filez [%s])r �)�sys�stdout�print�get_content_type�get_default_typer
r�
_structure)r�fp�level�include_default�tabr
rrrr'>s
�r')F)rN)NrF)�__doc__�
__future__rrrr�__all__r"�ior	rrrr'rrrr�<module>s



https://t.me/RX1948 - 2025