Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/dns/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/dns/namedict.pyo
�
!`Nc@s,dZddlZdefd��YZdS(sDNS name dictionaryi����NtNameDictcBs)eZdZd�Zd�Zd�ZRS(s�A dictionary whose keys are dns.name.Name objects.
    @ivar max_depth: the maximum depth of the keys that have ever been
    added to the dictionary.
    @type max_depth: int
    cOs&tt|�j||�d|_dS(Ni(tsuperRt__init__t	max_depth(tselftargstkwargs((s2/usr/lib64/python2.7/site-packages/dns/namedict.pyRscCsht|tjj�s$td��nt|�}||jkrK||_ntt|�j	||�dS(NsNameDict key must be a name(
t
isinstancetdnstnametNamet
ValueErrortlenRRRt__setitem__(Rtkeytvaluetdepth((s2/usr/lib64/python2.7/site-packages/dns/namedict.pyR
 scCs�t|�}||jkr'|j}nxKt|d�D]9}tjj||�}|j|�r8|||fSq8W|tjj}tjj|fS(sFind the deepest match to I{name} in the dictionary.

        The deepest match is the longest name in the dictionary which is
        a superdomain of I{name}.

        @param name: the name
        @type name: dns.name.Name object
        @rtype: (key, value) tuple
        i(RRtxrangeRR	R
thas_keytempty(RR	Rtitntv((s2/usr/lib64/python2.7/site-packages/dns/namedict.pytget_deepest_match(s(t__name__t
__module__t__doc__RR
R(((s2/usr/lib64/python2.7/site-packages/dns/namedict.pyRs		(Rtdns.nameRtdictR(((s2/usr/lib64/python2.7/site-packages/dns/namedict.pyt<module>s

ZeroDay Forums Mini