Oct-20-2020, 03:27 PM
From python 3.9 there are also union operators for dicts! - PEP 584
so this:
![Smile Smile](https://python-forum.io/images/smilies/smile.png)
so this:
d = {'a': 1, 'b': 2} d.update({'d': 4}can be also written this way:
d = {'a': 1, 'b': 2} d |= {'d': 4}