Skip to content

Instantly share code, notes, and snippets.

@Daiver
Created February 4, 2013 15:24
Show Gist options
  • Save Daiver/4707378 to your computer and use it in GitHub Desktop.
Save Daiver/4707378 to your computer and use it in GitHub Desktop.
def f(arg1, arg2='default'):
print('arg1', arg1)
print('arg2', arg2)
f('one', 'two')
f('one')
f('one', arg2='two')
f(arg1='one', arg2='two')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment