test.py
d1 = {"version": "3.11", "language": "Python"}
d2 = {"creator": "Guide Van Rossum", "year": 1991}
test.py
d3 = d1 | d2
test.py
d4 = d1.update(d2.copy())
test.py
d5 = {**d1, **d2}
test.py
d8 = dict(d2, **d1)
test.py
d1 |= d2
test.py
d6 = dict(list(d1.items()) + list(d2.items()))
test.py
from collections import ChainMap

d7 = ChainMap(d1, d2)