def __iter__(self):
		"""
		Return a strings iterator for the current template,
		alternating between the static string parts and the current
		tag-values.
		Combined together this is the template content.
		"""
		stringsiter = iter(self.strings)
		yield stringsiter.next()
		while True:
			yield self.tags[stringsiter.next()]
			yield stringsiter.next()

		Return a strings iterator for the current template,
		alternating between the static string parts and the current
		tag-values.
		Combined together this is the template content.
		
recipes/Python/577203_Userfriendly_Webpage_Template/recipe-577203.py