#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# 'Returns `True` if two domains are equivalent. ' #NEWLINE# return ( isinstance ( other , FractionField ) and ( self . dtype == other . dtype ) and ( self . field == other . field ) )