

def validate_page_number(self, page_number):
    try:
        page_number = int(page_number)
    except ValueError:
        raise InvalidPage
    if ((page_number < 0) or (self > (self.pages - 1))):
        raise InvalidPage
    return page_number

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/core/paginator.py ObjectPaginator.validate_page_number/VarMisuse@42/57 `page_number`->`self`