def _setInsertFromTable(self, value):
        """Switch the function used to insert an element from the
        normal one to the misnested table one and back again"""
        self._insertFromTable = value
        if value:
            self.insertElement = self.insertElementTable
        else:
            self.insertElement = self.insertElementNormal
Switch the function used to insert an element from the
        normal one to the misnested table one and back again
html5lib/treebuilders/_base.py