def best(self):
        
        # Throw away the score and just return a list of items
        return [(item, score) for score, item in reversed(sorted(self.heap))]
    

# Mix-in for objects with a close() method that allows them to be
# used as a context manager.
Returns the "top N" items. Note that this call
dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/util.py/TopDocs.best