관리-도구
편집 파일: rdataclass.pyo
� !`Nc @ 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 e g e j � D] \ Z Z e e f ^ q� � 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( sk DNS Rdata Classes. @var _by_text: The rdata class textual name to value mapping @type _by_text: dict @var _by_value: The rdata class value to textual name mapping @type _by_value: dict @var _metaclasses: If an rdataclass is a metaclass, there will be a mapping whose key is the rdatatype value and whose value is True in this dictionary. @type _metaclasses: dicti����Ni i i i i� i� t RESERVED0t INt CHt HSt NONEt ANYt INTERNETt CHAOSt HESIODs CLASS([0-9]+)$t UnknownRdataclassc B s e Z d Z RS( s Raised when a class is unknown.( t __name__t __module__t __doc__( ( ( s4 /usr/lib64/python2.7/site-packages/dns/rdataclass.pyR D 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. @param text: the text @type text: string @rtype: int @raises dns.rdataclass.UnknownRdataclass: the class is unknown @raises ValueError: the rdata class value is not >= 0 and <= 65535 i i i�� s'