#NEWLINE# def make_node( self , * inputs ) : #NEWLINE# #INDENT# inputs = list ( map ( as_variable , inputs ) ) #NEWLINE# for input in inputs : #NEWLINE# #INDENT# if ( not isinstance ( inputs . type , MyType ) ) : #NEWLINE# #INDENT# raise Exception ( 'Error 1' ) #NEWLINE# #UNINDENT# #UNINDENT# outputs = [ MyType ( ) ( ) ] #NEWLINE# return Apply ( self , inputs , outputs )