def __iter__(self):
        """ Frame iteration. """
        for i, f in enumerate(self.frame_index):
            yield self.get_frame(i)
def __iter__ ( self ) : for i , f in enumerate ( self . frame_index ) : yield self . get_frame ( i )
Frame iteration.