Skip to content

Instantly share code, notes, and snippets.

@martinthenext
Created October 14, 2011 13:59
Show Gist options
  • Save martinthenext/1287186 to your computer and use it in GitHub Desktop.
Save martinthenext/1287186 to your computer and use it in GitHub Desktop.
>>> def g(**d):
print d['argname']
>>> g(argname='argval')
argval
>>> def b(*z):
print z[0]
>>> b('Renata')
Renata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment