<s> from rx . internal . basic import default_comparer <EOL> class Recorded ( object ) : <EOL> def __init__ ( self , time , value , comparer = None ) : <EOL> self . time = time <EOL> self . value = value <EOL> self . comparer = comparer or default_comparer <EOL> def __eq__ ( self , other ) : <EOL> """<STR_LIT>""" <EOL> time_match = self . time == other . time <EOL> return time_match and self . comparer ( self . value , other . value ) <EOL> equals = __eq__ <EOL> def __repr__ ( self ) : <EOL> return str ( self ) <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( self . value , self . time ) </s>
