bartc <b...@freeuk.com>:
> Anyway, try this:
>
>     def showarg(x): print(x)
>
>     def dummy(*args,**kwargs): pass
>
>     dummy(a=showarg(1),*[showarg(2),showarg(3)])
>
> This displays 2,3,1 showing that evaluation is not left to right.

Nice one!


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to