code: def endElement(self, name):
          
          if name in self.ignore_end:
              return
          try:
              handler = getattr(self, '_handle_end_%s' % name)
          except AttributeError:
              raise KeyError("Unknown element end '%s'" % name)
          handler()
docs: Handle closing elements
  
          :param name: Name of the element
          :type name: String