Merge pull request #441 from 30-seconds/Trinityyi-patch-1

Update combine_values.md
Fixes #439
Closes #440
This commit is contained in:
Angelos Chalaris
2021-04-04 14:33:19 +03:00
committed by GitHub

View File

@ -24,5 +24,5 @@ def combine_values(*dicts):
d1 = {'a': 1, 'b': 'foo', 'c': 400}
d2 = {'a': 3, 'b': 200, 'd': 400}
combine_values(d1, d2) # {'a': [1, 3], 'b': ['foo', 200], 'c': 400, 'd': 400}
combine_values(d1, d2) # {'a': [1, 3], 'b': ['foo', 200], 'c': [400], 'd': [400]}
```