#NEWLINE# def elements( self ) : #NEWLINE# #INDENT# "Iterator over elements repeating each as many times as its count.\n\n        >>> c = Counter('ABCABC')\n        >>> sorted(c.elements())\n        ['A', 'A', 'B', 'B', 'C', 'C']\n\n        If an element's count has been set to zero or is a negative number,\n        elements() will ignore it.\n\n        " #NEWLINE# for ( elem , count ) in iteritems ( self ) : #NEWLINE# #INDENT# for _ in range ( count ) : #NEWLINE# #INDENT# ( yield elem )