%PDF- %PDF-
| Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ |
| Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pyc |
�
�ac @ s d Z d d l Z d d l Z d Z d Z d Z d Z d Z d Z i e d 6e d
6e d 6e d 6e d
6e d 6Z
d � e
j � D� Z e
j
i e d 6e d 6e d 6� i e e 6e e 6Z e j d e j � Z d e j j f d � � YZ d � Z d � Z d � Z d S( s DNS Rdata Classes.i����Ni i i i i� i� t RESERVED0t INt CHt HSt NONEt ANYc C s i | ] \ } } | | � q S( ( ( t .0t xt y( ( sC /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pys
<dictcomp>, s t INTERNETt CHAOSt HESIODs CLASS([0-9]+)$t UnknownRdataclassc B s e Z d Z RS( s A DNS class is unknown.( t __name__t
__module__t __doc__( ( ( sC /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pyR ? s c C s� t j | j � � } | d k r� t j | � } | d k rE t � n t | j d � � } | d k sr | d k r� t d � � q� n | S( s� 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 an ``int``.
i i i�� s'