call the function itertools_cycle with an argument self.cyclevars, substitute the result for value under the self dictionary context.render_context.
context . render_context [ self ] = itertools_cycle ( self . cyclevars )