#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( isinstance ( other , unicode ) or ( isinstance ( other , bytes ) and ( not isnewbytes ( other ) ) ) ) : #NEWLINE# #INDENT# return super ( newstr , self ) . __eq__ ( other ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False