def _class_dispatch(args, kwargs):
_ = kwargs<EOL>if not args:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>")<EOL><DEDENT>if not isinstance(args[<NUM_LIT:0>], type):<EOL><INDENT>raise TypeError(<EOL>"<STR_LIT>")<EOL><DEDENT>return args[<NUM_LIT:0>]<EOL>
See 'class_multimethod'.