def __next__ ( self , reward , ask_id , lbl ) : return self . next ( reward , ask_id , lbl )
def and return python and feed into next function
For Python3 compatibility of generator .
def __next__(self, reward, ask_id, lbl):
        """For Python3 compatibility of generator."""
        return self.next(reward, ask_id, lbl)