On Fri, 25 Jan 2008 05:49:40 -0800, rndblnch wrote:

> 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 ?

Impossible.  Dictionaries are unordered.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to