Skip to content

Instantly share code, notes, and snippets.

@imbyron
Created July 8, 2013 02:50
Show Gist options
  • Save imbyron/5945907 to your computer and use it in GitHub Desktop.
Save imbyron/5945907 to your computer and use it in GitHub Desktop.
def foo(numbers=None):
if numbers is None:
numbers = []
numbers.append(9)
print numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment