Avatar ·

Why can't you just take and fold two dictionaries?

📁 cortege, Advanced Python Topics, example

& nbsp;

Why are lists, tuples, sets, but dictionaries - you can’t?

If you don't like +, you can make fluent interface - so that dict.update() returns self.

The best thing I found is dict(dict1, key1 = value1) . DATA-HIGHLIGHTED = ""> BASE_CONFIG = { 'KEY1' : 'Val1'} func1 (Base_config + { 'key2' : 'val2' }) func2 (base_config + { 'key3' : 'val3' })

& nbsp;