@try_delegation<EOL><INDENT>def get_method(self, *args, **kwargs):<DEDENT>
for method in self.gen_methods(*args, **kwargs):<EOL><INDENT>return method<EOL><DEDENT>msg = '<STR_LIT>'<EOL>raise self.DispatchError(msg % ((args, kwargs), self.inst))<EOL>
Find the first method this input dispatches to.