exceptions.py 337 B

123456789101112131415161718
  1. import toolz
  2. __all__ = ['merge_with', 'merge']
  3. @toolz.curry
  4. def merge_with(func, d, *dicts, **kwargs):
  5. return toolz.merge_with(func, d, *dicts, **kwargs)
  6. @toolz.curry
  7. def merge(d, *dicts, **kwargs):
  8. return toolz.merge(d, *dicts, **kwargs)
  9. merge_with.__doc__ = toolz.merge_with.__doc__
  10. merge.__doc__ = toolz.merge.__doc__