Delete all the nodes on specific depth in this dict

def del_depth(d, depth):
        """Delete all the nodes on specific depth in this dict
        """
        for node in DictTree.v_depth(d, depth-1):
            for key in [key for key in DictTree.k(node)]:
                del node[key]