summaryrefslogtreecommitdiff
path: root/python/kwargs.py
blob: d1a81eacdf0b234d95ca4cc882b3fb2bb09775b9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python2


def fun(*args, **kwargs):
  print args
  print kwargs

if __name__=="__main__":
  fun(1,2,3,4,a=2,b=4,c=4)