Skip to content

Instantly share code, notes, and snippets.

@djsmith42
Created April 2, 2012 02:19
Show Gist options
  • Save djsmith42/2280054 to your computer and use it in GitHub Desktop.
Save djsmith42/2280054 to your computer and use it in GitHub Desktop.
>>> do_something.func_defaults = ([42],)
>>> do_something()
[42, 'some item']
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment