Mega Code Archive

 
Categories / Python / Function
 

Parameter passing

def f(a, *pargs, **kargs): print a, pargs, kargs f(1, 2, 3, x=1, y=2)