Iterator over elements repeating each as many times as its count.

		>>> c = Counter('ABCABC')
		>>> sorted(c.elements())
		['A', 'A', 'B', 'B', 'C', 'C']

		If an element's count has been set to zero or is a negative number,
		elements() will ignore it.

def elements(self):
		'''Iterator over elements repeating each as many times as its count.

		>>> c = Counter('ABCABC')
		>>> sorted(c.elements())
		['A', 'A', 'B', 'B', 'C', 'C']

		If an element's count has been set to zero or is a negative number,
		elements() will ignore it.

		'''
                try:
                        iteritems = self.iteritems()
                except AttributeError:
                        iteritems = iter(self)
		for elem, count in iteritems:
			for _ in repeat(None, count):
				yield elem