def extend(self, other):
        """
        Extend the list of nodes with another BlockNode class.

        Keyword Arguments

        - other -- BlockNode or Content object to extend from.
        """
        if isinstance(other, BlockNode):
            self.nodes.extend(other.nodes)
        else:
            raise TypeError(
                other % "Invalid type; must be instance of ``BlockNode``. %s")
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/template.py/BlockNode.extend/swapped operands of `%`