%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__/rdataclass.cpython-312.pyc

�

5��e�����dZddlZddlZGd�dejj
�ZejejhZ	Gd�dejj�Zde
defd	�Zd
ede
fd�Zdedefd
�Zej$Zej&Zej(Zej*Zej,Zej.Zej0ZejZejZy)zDNS Rdata Classes.�Nc�t�eZdZdZdZdZeZdZeZdZ	e	Z
dZdZe
d��Ze
d	��Ze
d
��Ze
d��Zy)
�
RdataClasszDNS Rdata Classr�����c��y)Ni�����clss �0/usr/lib/python3/dist-packages/dns/rdataclass.py�_maximumzRdataClass._maximum%s���c��y)N�classrrs r�_short_namezRdataClass._short_name)���rc��y)N�CLASSrrs r�_prefixzRdataClass._prefix-rrc��tS)N)�UnknownRdataclassrs r�_unknown_exception_classz#RdataClass._unknown_exception_class1s�� � rN)�__name__�
__module__�__qualname__�__doc__�	RESERVED0�IN�INTERNET�CH�CHAOS�HS�HESIOD�NONE�ANY�classmethodrrrrrrrrrs�����I�	
�B��H�	
�B��E�	
�B�
�F��D�

�C��������������!��!rrc��eZdZdZy)rzA DNS class is unknown.N)rrrrrrrrr9s��!rr�text�returnc�,�tj|�S)a�Convert text into a DNS rdata class value.

    The input text can be a defined DNS RR class mnemonic or
    instance of the DNS generic class syntax.

    For example, "IN" and "CLASS1" will both result in a value of 1.

    Raises ``dns.rdatatype.UnknownRdataclass`` if the class is unknown.

    Raises ``ValueError`` if the rdata class value is not >= 0 and <= 65535.

    Returns a ``dns.rdataclass.RdataClass``.
    )r�	from_text)r*s rr-r-=s������%�%r�valuec�,�tj|�S)aConvert a DNS rdata class value to text.

    If the value has a known mnemonic, it will be used, otherwise the
    DNS generic class syntax will be used.

    Raises ``ValueError`` if the rdata class value is not >= 0 and <= 65535.

    Returns a ``str``.
    )r�to_text)r.s rr0r0Os�����e�$�$r�rdclassc��|tvryy)z�True if the specified class is a metaclass.

    The currently defined metaclasses are ANY and NONE.

    *rdclass* is a ``dns.rdataclass.RdataClass``.
    TF)�_metaclasses)r1s r�is_metaclassr4]s���,���r)r�dns.enum�dns�
dns.exception�enum�IntEnumrr&r'r3�	exception�DNSExceptionr�strr-r0�boolr4rr r!r"r#r$r%rrr�<module>r>s���$���!����!�!�!�<������0��"��
�
�2�2�"�&�C�&�J�&�$%�:�%�#�%�
�*�
��
�
� � �	��]�]�������]�]�������]�]��	�	�	�������n�n�r

Zerion Mini Shell 1.0