def create_txt_response(name, txt_records):
 return dns.rrset.from_text_list(name, 60, 'IN', 'TXT', txt_records)

def create_txt_response ( name , txt_records ) : return dns . rrset . from_text_list ( name , 60 , 'IN' , 'TXT' , txt_records )
returns an rrset containing the txt_records as the result of a dns query for name .