howto check is function capable of obtaining **kwargs?
dmitrey
dmitrey.kroshko at scipy.org
Mon Jul 21 07:20:20 EDT 2008
hi all,
howto check is function capable of obtaining **kwargs?
i.e. I have some funcs like
def myfunc(a,b,c,...):...
some like
def myfunc(a,b,c,...,*args):...
some like
def myfunc(a,b,c,...,*args, **kwargs):...
some like
def myfunc(a,b,c,...,zz=zz0):...
So I need to know is the given function capable of handling zz
parameter, for example the call
myfunc(a,b,c,...,zz=4,...)
Thank you in advance, D.
More information about the Python-list
mailing list