by Lycanthrope · 15y ago · 0 comments
from functools import partial def add(x,y): return x+y add3 = partial(add, 3) add3(2) # returns 5