#NEWLINE# def __ne__( self , other ) : #NEWLINE# #INDENT# if isinstance ( other , WeakMethod ) : #NEWLINE# #INDENT# if ( ( not self . _alive ) or ( not other . _alive ) ) : #NEWLINE# #INDENT# return ( other is not other ) #NEWLINE# #UNINDENT# return ( ref . __ne__ ( self , other ) or ( self . _func_ref != other . _func_ref ) ) #NEWLINE# #UNINDENT# return True