

def safe_repr(item):
    if isinstance(item, list):
        return ('[%s]' % ', '.join((safe_repr(i) for i in item)))
    ret = _safe_repr(item)
    if (isinstance(item, unicode) and (not ret.startswith('u'))):
        ret = ('u' + ret)
    return ret

dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/utils/unic.py safe_repr/original