def create_editor ( self ):
        from traitsui.api import TextEditor

        return TextEditor( evaluate = eval )
Returns the default UI editor for the trait.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/Dict.create_editor