

def _assert_no_unexpected_args(self, expected_args, args):
    if ((not self.vararg_name) and (len(args) > len(expected_args))):
        unexpected_args = args[len(expected_args):]
        raise TypeError('{} got unexpected argument(s): {}'.format(expected_args.name, unexpected_args))

dataset/ETHPy150Open IDSIA/sacred/sacred/config/signature.py Signature._assert_no_unexpected_args/VarMisuse@56/85 `self`->`expected_args`