#NEWLINE# def __call__( self , * args , **kwargs ) : #NEWLINE# #INDENT# if isinstance ( getattr ( self , '__call__' ) , Stub ) : #NEWLINE# #INDENT# return getattr ( self , '__call__' ) ( * args , ** kwargs ) #NEWLINE# #UNINDENT# raise UnexpectedCall ( call = args . _name , args = args , kwargs = kwargs )