

def last_on_page(self, page_number):
    '\n        Returns the 1-based index of the last object on the given page,\n        relative to total objects found (hits).\n        '
    page_number = self.validate_page_number(self)
    page_number += 1
    if (page_number == self.pages):
        return self.hits
    return (page_number * self.num_per_page)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/core/paginator.py ObjectPaginator.last_on_page/VarMisuse@20/75 `page_number`->`self`