def next(self):
        """Goes one item ahead and returns it."""
        rv = self.current
        self.pos = (self.pos + 1) % len(self.items)
        return rv
def next ( self ) : rv = self . current self . pos = ( self . pos + 1 ) % len ( self . items ) return rv
Goes one item ahead and returns it.