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