blob: 2b939ed5606026a4789796446dab3141e41eb31f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
"""Check for duplicate function arguments."""
def foo1(_, _): # [duplicate-argument-name]
"""Function with duplicate argument name."""
def foo2(_, *_): # [duplicate-argument-name]
"""Function with duplicate argument name."""
def foo3(_, _=3): # [duplicate-argument-name]
"""Function with duplicate argument name."""
|