Python Function Reference

update
Update the dictionary with the key/value pairs from other, overwriting existing keys.
Python 3.13
dict.update([other])
other
Another dictionary or an iterable object.
Examples
Python 3.13
>>> a = {'x': 1}
>>> a.update({'y': 2})
{'x': 1, 'y': 2}