Skip to content

Instantly share code, notes, and snippets.

@Seanny123
Created June 18, 2021 15:00
Show Gist options
  • Save Seanny123/b6f893a14fd9b03003c78a8144848aa3 to your computer and use it in GitHub Desktop.
Save Seanny123/b6f893a14fd9b03003c78a8144848aa3 to your computer and use it in GitHub Desktop.
An example of a bug which Pylint would find
def append_number(num, numbers=[]):
numbers.append(num)
return numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment