def postings(self, fieldid, text, exclude_docs = frozenset()):
        schema = self.schema
        fieldnum = schema.to_number(fieldid)
        format = schema[fieldnum].format
        
        try:
            totalfreq, offset, postcount = self.termtable[(fieldnum, text)] #@UnusedVariable
        except KeyError:
            raise TermNotFound((fieldid, text) % "%s:%r")
        
        if self.segment.deleted and exclude_docs:
            exclude_docs = self.segment.deleted | exclude_docs
        elif self.segment.deleted:
            exclude_docs = self.segment.deleted
        
        if not self.postfile:
            self.postfile = self.storage.open_file(self.segment.posts_filename, mapped=False)
        postreader = FilePostingReader(self.postfile, offset, format)
        if exclude_docs:
            postreader = Exclude(postreader, exclude_docs)
        return postreader
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/filedb/filereading.py/SegmentReader.postings/swapped operands of `%`