def start_index(self):
        # Special case, return zero if no items.
        if self.paginator.count == 0:
            return 0
        return (self.paginator.per_page * (self.number - 1)) + 1
test re-opening partially full shards
dataset/ETHPy150Open django/django/django/core/paginator.py/Page.start_index--crossover with--dataset/ETHPy150Open largelymfs/topical_word_embeddings/TWE-1/gensim/test/test_similarities.py/TestSimilarity.testReopen