%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pyc

�
�ac@sdZddlZddlZdZdZdZdZdZdZ	ied	6ed
6ed6ed6ed
6e	d6Z
d�e
j�D�Ze
j
ied6ed6ed6�iee6ee	6Zejdej�Zdejjfd��YZd�Zd�Zd�ZdS(sDNS Rdata Classes.i����Niiiii�i�t	RESERVED0tINtCHtHStNONEtANYcCsi|]\}}||�qS(((t.0txty((sC/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pys
<dictcomp>,s	tINTERNETtCHAOStHESIODsCLASS([0-9]+)$tUnknownRdataclasscBseZdZRS(sA DNS class is unknown.(t__name__t
__module__t__doc__(((sC/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pyR?scCs�tj|j��}|dkr�tj|�}|dkrEt�nt|jd��}|dksr|dkr�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``.
    iii��s'class must be between >= 0 and <= 65535N(
t_by_texttgettuppertNonet_unknown_class_patterntmatchRtinttgroupt
ValueError(ttexttvalueR((sC/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pyt	from_textCs	cCsY|dks|dkr'td��ntj|�}|dkrUdt|�}n|S(sConvert a DNS rdata type 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``.
    ii��s'class must be between >= 0 and <= 65535tCLASSN(Rt	_by_valueRRtrepr(RR((sC/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pytto_text]scCs|tkrtStS(s�True if the specified class is a metaclass.

    The currently defined metaclasses are ANY and NONE.

    *rdclass* is an ``int``.
    (t_metaclassestTruetFalse(trdclass((sC/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pytis_metaclassps(Rtret
dns.exceptiontdnsRRRRRRRtitemsRtupdateR!R tcompiletIRt	exceptiontDNSExceptionRRRR$(((sC/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/rdataclass.pyt<module>s8
	
		

Zerion Mini Shell 1.0