[C++-sig] calling python method using keywords

Stefan Seefeld stefan.seefeld at orthosoft.ca
Mon Jan 12 16:58:36 CET 2004


hi there,

I'm looking for a way to call a python
callable not with explicit arguments, but
instead using the tuple / dict form, i.e.

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 ?

Thanks,
		Stefan





More information about the Cplusplus-sig mailing list