#NEWLINE# def __call__( self , * args , **kwArgs ) : #NEWLINE# #INDENT# s = self . instance ( ) #NEWLINE# if ( s is None ) : #NEWLINE# #INDENT# if ( 'fallbackResult' in self . __kw ) : #NEWLINE# #INDENT# return self . __kw [ 'fallbackResult' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ReferenceError ( ( 'Instance referenced by WeakMethod %s() no longer exists' % self . __method . __name__ ) ) #NEWLINE# #UNINDENT# #UNINDENT# m = new . instancemethod ( self . __method , s , s . __class__ ) #NEWLINE# return m ( * args , ** kwArgs )