MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
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