Possible Duplicate:
*args and **kwargs?
I seen function called
def x(**xyz):
print "Ok"
Now in this function what is meaning of **xyz
i.e. **
is for what ?
Possible Duplicate:
*args and **kwargs?
I seen function called
def x(**xyz):
print "Ok"
Now in this function what is meaning of **xyz
i.e. **
is for what ?
As explained in the tutorial, keyword arguments.
When a final formal parameter of the form **name is present, it receives a dictionary (see Mapping Types — dict) containing all keyword arguments except for those corresponding to a formal parameter.