#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# other = other . _dt_obj #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return ( self . _dt_obj == other )