On Sat, 17 Mar 2012 02:21:32 +0100, Kiuhnm wrote: > Here we go. [snip code]
Have you looked at functools.partial? import functools new_func = functools.partial(func, ham, spam=23) (I am aware that, technically, currying and partial function application are not quite the same thing, but it seems to me on a superficial reading that your function performs partial function application rather than actually currying. But I haven't read it in enough detail to be sure.) -- Steven -- http://mail.python.org/mailman/listinfo/python-list