def render_calculator(self, ctx, data):
        c = CalculatorElement(Calculator())
        c.setFragmentParent(self)
        return c
Replace the tag with a new L{CalculatorElement}.
dataset/ETHPy150Open twisted/nevow/examples/athenademo/calculator.py/CalculatorParentPage.render_calculator