def get_editor ( self, trait ):
        if self.editor is None:
            from traitsui.api import TextEditor

            self.editor = TextEditor( evaluate = eval )

        return self.editor
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitDict.get_editor/original