def __call__(self, *args, **kwargs):
<EOL>if not self.argspec.keywords:<EOL><INDENT>argnames = self.argspec.args[self.argidx + len(args):]<EOL>kwargs = dict((arg, kwargs[arg]) for arg in argnames<EOL>if arg in kwargs)<EOL><DEDENT>return self.method(*args, **kwargs)<EOL>
Safely call the method.  Unneeded keyword arguments are
omitted from the call.