

def string_value(self, value):
    ' Returns the text representation of a specified object trait value.\n        '
    if (value is None):
        return ''
    return str(value)

dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/drop_editor.py SimpleEditor.string_value/original