You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def dict_concat(*args):
first = copy.copy(args[0])
assert isinstance(first, dict)
try:
rest = args[1:]
except IndexError:
return first
for d in rest:
assert isinstance(d, dict)
assert len(set(d).intersection(first)) == 0
first.update(d)
return first
Thin wrapper perhaps around a dict concatenation.
Check for address conflicts and raise errors if they exist.
The text was updated successfully, but these errors were encountered: