exceptions.py 350 B

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