(self)
Yields a :class:`Hit` object for each result in ranked order.
Yields a :class:`Hit` object for each result in ranked order.
Yields a : class : Hit object for each result in ranked order .
def __iter__(self):
        """Yields a :class:`Hit` object for each result in ranked order.
        """

        for i in xrange(len(self.top_n)):
            yield Hit(self, self.top_n[i][1], i, self.top_n[i][0])
def __iter__ ( self ) : for i in xrange ( len ( self . top_n ) ) : yield Hit ( self , self . top_n [ i ] [ 1 ] , i , self . top_n [ i ] [ 0 ] )