R
rndblnch
(sorry, draft message gone to fast)
i.e. is it possible to write such a function:
def f(**kwargs):
<skipped>
return result
such as :
f(x=12, y=24) == ['x', 'y']
f(y=24, x=12) == ['y', 'x']
what i need is to get the order of the keyword parameters inside the
function.
any hints ?
thanks,
renaud
i.e. is it possible to write such a function:
def f(**kwargs):
<skipped>
return result
such as :
f(x=12, y=24) == ['x', 'y']
f(y=24, x=12) == ['y', 'x']
what i need is to get the order of the keyword parameters inside the
function.
any hints ?
thanks,
renaud