def _indexes(self, page):
        id_start = self.elems_per_page * page + 1
        id_stop = id_start + self.elems_per_page - 1
        return (id_start, id_stop)
Compute start and stop indexes.
dataset/ETHPy150Open tonioo/modoboa/modoboa/lib/paginator.py/Paginator._indexes