def get_next_page(self, page):

        if page.last_page:
            pass

        elif page.next_id:
            for p in self._pages:
                if p.id == page.next_id:
                    return p

        else:
            index = self._pages.index(page) + 1

            if index < len(self._pages):
                return self._pages[index]

        return None
Get the sanitized path of the parent node.
dataset/ETHPy150Open enthought/pyface/pyface/wizard/wizard_controller.py/WizardController.get_next_page--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/workbench/ui/menu_helper.py/PathNode.parent_path