

@property
def path(self):
    ' Get the sanitized path for the node.\n\n        '
    path = self.item.path.rstrip('/')
    if (not path):
        return '/'
    if (path[0] != '/'):
        return ('/' + path)
    return path

dataset/ETHPy150Open nucleic/enaml/enaml/workbench/ui/menu_helper.py PathNode.path/original