parameters: (self, rrset)
docstring: Delete all data at the name of the given rrset,
             by adding all data found by find_all as delete statements
             to the internal diff.
             Special case: if the name is the zone's apex, SOA and
             NS records are kept.
docstring_summary: Delete all data at the name of the given rrset,
             by adding all data found by find_all as delete statements
             to the internal diff.
             Special case: if the name is the zone's apex, SOA and
             NS records are kept.
docstring_tokens: Delete all data at the name of the given rrset by adding all data found by find_all as delete statements to the internal diff . Special case : if the name is the zone s apex SOA and NS records are kept .
function: def __do_update_delete_name(self, rrset):
          '''Delete all data at the name of the given rrset,
             by adding all data found by find_all as delete statements
             to the internal diff.
             Special case: if the name is the zone's apex, SOA and
             NS records are kept.
          '''
          # Find everything with the name, including local additions
          result, rrsets, flags = self.__diff.find_all_updated(rrset.get_name())
          if result == ZoneFinder.SUCCESS and\
             (flags & ZoneFinder.RESULT_WILDCARD == 0):
              for to_delete in rrsets:
                  # if name == self.__zname and type is soa or ns, don't delete!
                  if to_delete.get_name() == self.__zname and\
                     (to_delete.get_type() == RRType.SOA or
                      to_delete.get_type() == RRType.NS):
                      continue
                  else:
                      for rr in foreach_rr(to_delete):
                          self.__diff.delete_data(rr)
function_tokens: def __do_update_delete_name ( self , rrset ) : # Find everything with the name, including local additions result , rrsets , flags = self . __diff . find_all_updated ( rrset . get_name ( ) ) if result == ZoneFinder . SUCCESS and ( flags & ZoneFinder . RESULT_WILDCARD == 0 ) : for to_delete in rrsets : # if name == self.__zname and type is soa or ns, don't delete! if to_delete . get_name ( ) == self . __zname and ( to_delete . get_type ( ) == RRType . SOA or to_delete . get_type ( ) == RRType . NS ) : continue else : for rr in foreach_rr ( to_delete ) : self . __diff . delete_data ( rr )