def _make_wrapper(self, func):
<EOL>@wraps(func)<EOL>def executor(*args, **kwargs):<EOL><INDENT>return self.execute(args, kwargs)<EOL><DEDENT>executor.dispatch = self.dispatch<EOL>executor.dispatch_first = self.dispatch_first<EOL>executor.func = func<EOL>executor.lookup = self.lookup<EOL>return executor<EOL>
Makes a wrapper function that executes a dispatch call for func. The
wrapper has the dispatch and dispatch_first attributes, so that
additional overloads can be added to the group.