Mega Code Archive

 
Categories / Python / Function
 

Turn parameters into a dictionary

def f(**args): print args print f() print f(a=1, b=2)