AlkantarClanX12

Your IP : 18.116.40.53


Current Path : /opt/alt/python311/lib64/python3.11/importlib/metadata/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/importlib/metadata/__pycache__/_adapters.cpython-311.opt-1.pyc

�

c��fF��Z�ddlZddlZddlZddlmZGd�dejj��ZdS)�N�)�
FoldedCasec���eZdZeeegd�����Z	dejj	f�fd�Z
d�Z�fd�Zd�Z
ed���Z�xZS)�Message)
�
ClassifierzObsoletes-Dist�PlatformzProject-URLz
Provides-DistzProvides-Extraz
Requires-DistzRequires-ExternalzSupported-Platform�Dynamic�origc���t���|��}t|���t|����|S�N)�super�__new__�vars�update)�clsr
�res�	__class__s   ��C/opt/alt/python311/lib64/python3.11/importlib/metadata/_adapters.pyrzMessage.__new__s=����g�g�o�o�c�"�"���S�	�	����d���$�$�$��
�c�8�|���|_dSr)�_repair_headers�_headers)�self�args�kwargss   r�__init__zMessage.__init__#s���,�,�.�.��
�
�
rc�D��t�����Sr)r
�__iter__)rrs �rrzMessage.__iter__'s����w�w���!�!�!rc���d���fd�t|��dD��}|jr)|�d|���f��|S)Nc�@�|rd|vr|Stjd|z��S)zCorrect for RFC822 indentation�
z        )�textwrap�dedent)�values r�redentz'Message._repair_headers.<locals>.redent+s-���
�D��-�-����?�7�U�?�3�3�3rc�0��g|]\}}|�|��f��S�r')�.0�keyr$r%s   �r�
<listcomp>z+Message._repair_headers.<locals>.<listcomp>1s*���Q�Q�Q�J�C��C������'�Q�Q�Qrr�Description)r�_payload�append�get_payload)r�headersr%s  @rrzMessage._repair_headers*sl���	4�	4�	4�R�Q�Q�Q�$�t�*�*�Z�:P�Q�Q�Q���=�	@��N�N�M�4�+;�+;�+=�+=�>�?�?�?��rc	�n���fd�}tt|tt�������S)z[
        Convert PackageMetadata to a JSON-compatible format
        per PEP 0566.
        c����|�jvr��|��n�|}|dkrtjd|��}|����dd��}||fS)N�Keywordsz\s+�-�_)�multiple_use_keys�get_all�re�split�lower�replace)r)r$�tkrs   �r�	transformzMessage.json.<locals>.transform=sn���),��0F�)F�)F�D�L�L��%�%�%�D�QT�I�E��j� � �����/�/�������$�$�S�#�.�.�B��u�9�r)�dict�mapr)rr<s` r�jsonzMessage.json6s@���	�	�	�	�	��C�	�3�z�4�#8�#8�9�9�:�:�:r)�__name__�
__module__�__qualname__�setr>rr5�email�messagerrrrr�propertyr?�
__classcell__)rs@rrrs�������������
�
�
�	
�	
����"��5�=�0�������
/�/�/�"�"�"�"�"�
�
�
��
;�
;��X�
;�
;�
;�
;�
;rr)r7r"�
email.messagerD�_textrrErr'rr�<module>rJsn��	�	�	�	���������������<;�<;�<;�<;�<;�e�m�#�<;�<;�<;�<;�<;r