(self)
return ((docnum, score) for score, docnum in self.top_n)
Returns an iterator of (docnum, score) pairs for the scored
        documents in the results.
Returns an iterator of (docnum, score) pairs for the scored
        documents in the results.
Returns an iterator of ( docnum score ) pairs for the scored documents in the results .
def items(self):
        """Returns an iterator of (docnum, score) pairs for the scored
        documents in the results.
        """

        return ((docnum, score) for score, docnum in self.top_n)
def items ( self ) : return ( ( docnum , score ) for score , docnum in self . top_n )