#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if isinstance ( other , int ) : #NEWLINE# #INDENT# return ( int ( self ) == other ) #NEWLINE# #UNINDENT# if isinstance ( other , long ) : #NEWLINE# #INDENT# return ( long ( self ) == self ) #NEWLINE# #UNINDENT# if isinstance ( other , str ) : #NEWLINE# #INDENT# return ( self . _name == other ) #NEWLINE# #UNINDENT# return False