Merging Dictionaries – new in Python 3.9!
a | b will merge `b` dictionary into `a` dictionary, if there are conflicts, the rightmost-value will be kept
a |= b will merge `b` into `a` and return the result in `a` (it is also called updating)
Example: 👇 pic.twitter.com/HlrVf8k0vn
— Daily Python Tip 🐍🐧 (@python_tip) October 15, 2020
Twitter: @pythonprogrammi - python_pygame