#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( self . repeat != other . repeat ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( len ( ts ) != len ( other ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return all ( ( ( ts == tt ) for ( ts , tt ) in zip ( self , other ) ) )