#NEWLINE# def __ne__( self , other ) : #NEWLINE# #INDENT# if isinstance ( other , self . __class__ ) : #NEWLINE# #INDENT# return ( self . _items != other . _items ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return ( ( len ( item ) != len ( self . _items ) ) or any ( ( ( item not in self ) for item in other ) ) ) #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# return NotImplemented