#NEWLINE# def __cmp__( self , other ) : #NEWLINE# #INDENT# "\n        Comparison between L{FirstError} and other L{FirstError} instances\n        is defined as the comparison of the index and sub-failure of each\n        instance.  L{FirstError} instances don't compare equal to anything\n        that isn't a L{FirstError} instance.\n\n        @since: 8.2\n        " #NEWLINE# if isinstance ( other , FirstError ) : #NEWLINE# #INDENT# return cmp ( ( self . index , self . subFailure ) , ( other . index , other . subFailure ) ) #NEWLINE# #UNINDENT# return ( - 1 )