'Return a definition_list\'s term and optional classifiers.'

def term(self, lines, lineno):

    assert (len(lines) == 1)
    (text_nodes, messages) = self.inline_text(lines[0], lineno)
    term_node = nodes.term()
    node_list = [term_node]
    for i in range(len(text_nodes)):
        node = text_nodes[i]
        if isinstance(node, nodes.Text):
            parts = self.classifier_delimiter.split(node.rawsource)
            if (len(parts) == 1):
                node_list[(-1)] += node
            else:
                node_list[(-1)] += nodes.Text(parts[0].rstrip())
                for part in parts[1:]:
                    classifier_node = nodes.classifier('', part)
                    node_list.append(classifier_node)
        else:
            node_list[(-1)] += node
    return (node_list, messages)
