class Infinite(object):
	def __iter__(self):
		return self
		
	def next(self):
		return 1
		
for i in Infinite():
	pass