def validate_resampler_func(method, args, kwargs):
if len(args) + len(kwargs) > <NUM_LIT:0>:<EOL><INDENT>if method in RESAMPLER_NUMPY_OPS:<EOL><INDENT>raise UnsupportedFunctionCall((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(func=method)))<EOL><DEDENT>else:<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT><DEDENT>
'args' and 'kwargs' should be empty because all of
their necessary parameters are explicitly listed in
the function signature