2018-09-01T14:29:40Z||2018-09-01T14:29:40Z


from functools import partial

def foo(*a, **b):
  print(a)
  print(b)

foo2 = partial(foo, b=-2)
foo3 = partial(foo2, -1, -2)

foo3()

输出

(-1, -2)
{'b': -2}

{ true}