

def get_previous_page(self, page):
    ' Returns the previous page. '
    for p in self._pages:
        next = self.get_next_page(next)
        if (next is page):
            return p
    return None

dataset/ETHPy150Open enthought/pyface/pyface/wizard/wizard_controller.py WizardController.get_previous_page/VarMisuse@29/47 `p`->`next`