def render_as_object(self):
        # by default, assume that the subclass provides a catch-all render() method
        return self.render()
Disposes of the contents of an editor.
dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailadmin/edit_handlers.py/EditHandler.render_as_object--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/color_editor.py/CustomColorEditor.dispose