[C++-sig] Re: calling python method using keywords
Stefan Seefeld
seefeld at sympatico.ca
Mon Jan 12 18:54:16 CET 2004
David Abrahams wrote:
>>args = tuple('a', 'b')
>>kwds = {'c':'C', 'd':'D'}
>>
>>f = foobar(*args, **kwds)
>>
>>I can't find any documentation on this, though.
>>Is there a predefined 'call' function with the
>>appropriate signature ?
>
>
> Do you mean that you want to do this from C++?
yes. I already know how to do it in python ;-)
Stefan
More information about the Cplusplus-sig
mailing list