def get_previous_page(self, page):

        if page in self._pages:
            index = self._pages.index(page)
            previous_page = self._pages[index - 1]

        else:
            if self.next_controller is not None:
                if self.next_controller.is_first_page(page):
                    previous_page = self._pages[-1]

                else:
                    previous_page = self.next_controller.get_previous_page(page)

            else:
                previous_page = None

        return previous_page
Returns the previous page.
dataset/ETHPy150Open enthought/pyface/pyface/wizard/chained_wizard_controller.py/ChainedWizardController.get_previous_page