Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

duplicate_argument_name.py 332B

1234567891011
  1. """Check for duplicate function arguments."""
  2. def foo1(_, _): # [duplicate-argument-name]
  3. """Function with duplicate argument name."""
  4. def foo2(_, *_): # [duplicate-argument-name]
  5. """Function with duplicate argument name."""
  6. def foo3(_, _=3): # [duplicate-argument-name]
  7. """Function with duplicate argument name."""