Fredrik Lundh a écrit :
Bruno Desthuilliers wrote:from functools import partial callback = partial(some_func, x=1, y) callback(z, t=4, u)>>> from functools import partial >>> callback = partial(some_func, x=1, y) File "<stdin>", line 1 SyntaxError: non-keyword arg after keyword arg
Yeps, I noticed this a couple seconds after posting. Brains needs more coffe...
-- http://mail.python.org/mailman/listinfo/python-list