Module Expr Str Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num orelse If CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If CompareGt NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad UnaryOpUSub NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A DNS name dictionary N/A dns.name N/A collections NameDict N/A N/A collections MutableMapping N/A N/A 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
    @ivar max_depth_items: the number of items of maximum depth
    @type max_depth_items: int
     N/A __slots__ N/A max_depth max_depth_items __store __init__ N/A N/A self N/A args kwargs N/A N/A N/A self __store N/A dict N/A N/A self max_depth 0 N/A N/A self max_depth_items 0 N/A N/A N/A self update N/A dict args kwargs N/A __update_max_depth N/A N/A self key N/A N/A N/A N/A N/A len key N/A self max_depth N/A N/A N/A self max_depth_items N/A N/A self max_depth_items 1 N/A N/A N/A N/A len key N/A self max_depth N/A N/A N/A self max_depth N/A len key N/A N/A self max_depth_items 1 N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A self __store N/A key N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A N/A isinstance key N/A N/A dns name Name N/A N/A N/A ValueError NameDict key must be a name N/A N/A N/A self __store N/A key value N/A N/A N/A self __update_max_depth key N/A __delitem__ N/A N/A self key N/A N/A N/A value N/A N/A N/A self __store pop key N/A N/A N/A len value N/A self max_depth N/A N/A N/A self max_depth_items N/A N/A self max_depth_items 1 N/A N/A N/A self max_depth_items 0 N/A N/A N/A self max_depth 0 N/A k N/A self __store N/A N/A N/A N/A self __update_max_depth k N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self __store N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self __store N/A has_key N/A N/A self key N/A N/A N/A N/A N/A N/A self __store has_key key N/A get_deepest_match N/A N/A self name N/A N/A N/A Find 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
         N/A depth N/A len name N/A N/A depth N/A self max_depth N/A N/A depth N/A self max_depth N/A i N/A xrange N/A depth 0 N/A N/A n N/A N/A N/A dns name Name N/A name N/A i N/A N/A N/A self has_key n N/A N/A N/A n N/A self N/A n N/A v N/A self N/A N/A N/A dns name empty N/A N/A N/A N/A dns name empty v N/A N/A