def foo(a, b, a): pass
def foo(a, b, c): pass
Duplicate argument names in function definitions are syntax errors.