MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/lib/python2.4/site-packages/dns/namedict.pyc
mō
!`Nc@s)dZdkZdefd„ƒYZdS(sDNS name dictionaryNtNameDictcBs)tZdZd„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|ƒi||Žd|_dS(Ni(tsuperRtselft__init__targstkwargst	max_depth(RRR((t0/usr/lib/python2.4/site-packages/dns/namedict.pyRscCslt|tiiƒptdƒ‚nt|ƒ}||i	jo
||_	nt
t|ƒi||ƒdS(NsNameDict key must be a name(t
isinstancetkeytdnstnametNamet
ValueErrortlentdepthRRRRt__setitem__tvalue(RR	RR((RR s
cCsœt|ƒ}||ijo
|i}nxPt|dƒD]>}tii||ƒ}|i
|ƒo|||fSq:q:W|tii}tii|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
        iN(
RRRRRtxrangetiR
Rtnthas_keytemptytv(RRRRRR((Rtget_deepest_match(s	
(t__name__t
__module__t__doc__RRR(((RRs		(Rtdns.nameR
tdictR(RR
((Rt?s