summaryrefslogtreecommitdiffstats
path: root/venv/lib/python3.9/site-packages/toolz/curried/exceptions.py
blob: 75a52bbbf27ee0779edcef942a58d9268c3eaf92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import toolz


__all__ = ['merge_with', 'merge']


@toolz.curry
def merge_with(func, d, *dicts, **kwargs):
    return toolz.merge_with(func, d, *dicts, **kwargs)


@toolz.curry
def merge(d, *dicts, **kwargs):
    return toolz.merge(d, *dicts, **kwargs)


merge_with.__doc__ = toolz.merge_with.__doc__
merge.__doc__ = toolz.merge.__doc__