Eric McGraw wrote:

> You could call it like this:
>>>> foo(**{"a-special-keyword":5})
> but that might defeat the purpose of keyword arguments.
> 
Don't forget you can mix ordinary keyword arguments with the ** call, so 
only the weird arguments actually need to be passed that way.

>>> def f(**args):
        print args

        
>>> f(a=1, **{'x-y':3})
{'a': 1, 'x-y': 3}
>>> 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to