'Handler for select end tag'

def _handle_select_tag_end(self, tag):

    SGMLParser._handle_select_tag_end(self, tag)
    if (not self._forms):
        return
    if (not self._select_input_name):
        return
    attrs = {'name': self._select_input_name, 'values': list(self._select_option_values), 'type': INPUT_TYPE_SELECT}
    form_params = self._forms[(-1)]
    form_params.add_field_by_attrs(attrs)
    self._select_option_values = set()
    self._select_input_name = None
