def get_parent(self, item):

        return item.parent
Returns the parent of an item.
dataset/ETHPy150Open enthought/pyface/pyface/viewer/default_tree_content_provider.py/DefaultTreeContentProvider.get_parent