

def _assert_no_duplicate_args(self, expected_args, args, kwargs):
    positional_arguments = positional_arguments[:len(args)]
    duplicate_arguments = [v for v in positional_arguments if (v in kwargs)]
    if duplicate_arguments:
        raise TypeError('{} got multiple values for argument(s) {}'.format(self.name, duplicate_arguments))

dataset/ETHPy150Open IDSIA/sacred/sacred/config/signature.py Signature._assert_no_duplicate_args/VarMisuse@18/27 `expected_args`->`positional_arguments`