#NEWLINE# def check_arguments( funcdef , args , kw ) : #NEWLINE# #INDENT# 'Check if some arguments are missing' #NEWLINE# assert ( len ( args ) == 0 ) #NEWLINE# for arg in funcdef . arguments : #NEWLINE# #INDENT# if ( arg . mandatory and ( arg . name not in kw ) ) : #NEWLINE# #INDENT# raise MissingArgument ( arg . name )