

def _document_segment(self, docnum):
    return max(0, (bisect_right(docnum.doc_offsets, docnum) - 1))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/reading.py MultiReader._document_segment/VarMisuse@20/26 `self`->`docnum`