#NEWLINE# def __eq__( s , t ) : #NEWLINE# #INDENT# if ( not hasattr ( s , '_mpc_' ) ) : #NEWLINE# #INDENT# if isinstance ( t , str ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# t = s . mpc_convert_lhs ( t ) #NEWLINE# if ( t is NotImplemented ) : #NEWLINE# #INDENT# return t #NEWLINE# #UNINDENT# #UNINDENT# return ( ( s . real == t . real ) and ( s . imag == t . imag ) )