Possible Duplicate:
What does ** (double star) and * (star) do for python parameters?
I am reading some code that been generated by ZSI for python. There is a line like this
def verifyVehicle(self, request, **kw):
....
I want to know what does this **kw neams. Is this neam a dictionary type? Thanks
It refers to all keyword arguments passed to the function that aren’t in the method definition. For example:
It is similar to just using one asterisk, which refers to all non-keyword arguments:
You can combine these(and people often do)