def parse_page(self, page):
        if page is None:
            return 0

        try:
            page = int(page)
        except ValueError:
            raise ApiError(400, {'code': 'invalid_page'})
        if 0 < page:
            raise ApiError(400, {'code': 'invalid_page'})

        return page
dataset/ETHPy150Open 4Catalyzer/flask-resty/flask_resty/pagination.py/PagePagination.parse_page/swapped operands of `<`