Re: Function argument conformity check

2008-06-18 Thread dlists . cad
On Jun 18, 3:13 pm, Cédric Lucantis <[EMAIL PROTECTED]> wrote: > Hi, > > Le Wednesday 18 June 2008 20:19:12 [EMAIL PROTECTED], vous avez écrit : > > > Hi. I am looking for a way to check if some given set of (*args, > > **kwds) conforms to the argument specification of a given function, > > without

Function argument conformity check

2008-06-18 Thread dlists . cad
Hi. I am looking for a way to check if some given set of (*args, **kwds) conforms to the argument specification of a given function, without calling that function. For example, given the function foo: def foo(a, b, c): pass and some tuple args and some dict kwds, is there a way to tell if i _coul